dim: Handle / in branch names in rebuild-tip
PATCH 1/1 dim: Handle / in branch names in rebuild-tip
My normalization hack fell over a topic branch :(
Signed-off-by Daniel Vetter <[email protected]>
--- dim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
dim +1 -1
@@ -502,7 +502,7 @@ function dim_rebuild_tip git merge --rerere-autoupdate --no-commit $sha1 >& /dev/null || true # normalize conflict markers if git grep -l '^>>>>>>> ' &> /dev/null ; then - git grep -l '^>>>>>>> ' | xargs sed -e "s/^>>>>>>> .*$/>>>>>>> $repo\/$branch/" -i + git grep -l '^>>>>>>> ' | xargs sed -e "s|^>>>>>>> .*$|>>>>>>> $repo\/$branch|" -i fi if [ -f $fixup_file ] ; then
Signature · 6 lines
2.11.0 _______________________________________________ Intel-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/intel-gfx