[Intel-gfx] [PATCH] dim: Handle / in branch names in rebuild-tip
Daniel Vetter
daniel.vetter at ffwll.ch
Mon Feb 27 09:30:53 UTC 2017
My normalization hack fell over a topic branch :(
Signed-off-by: Daniel Vetter <daniel.vetter at intel.com>
---
dim | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dim b/dim
index 457bf93d8a11..6d3b9734b348 100755
--- a/dim
+++ b/dim
@@ -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
--
2.11.0
More information about the Intel-gfx
mailing list