]> git.ipfire.org Git - thirdparty/git.git/commitdiff
Meta/Reintegrate: work around minor --no-edit breakage
authorJunio C Hamano <gitster@pobox.com>
Thu, 28 Jun 2012 04:15:36 +0000 (21:15 -0700)
committerJunio C Hamano <gitster@pobox.com>
Thu, 28 Jun 2012 04:17:09 +0000 (21:17 -0700)
For --no-edit to be true replacement of one-shot export of EDITOR=:,
it should trigger stripspace() to remove comments, but currently it
doesn't.  Avoid using it for now.

Reintegrate

index 98fb07dde885eba4e5db2835466ebcbfaa84fc24..419e9127d94a31482b3dfaaaebad19d1a50da5c2 100755 (executable)
@@ -100,7 +100,7 @@ no)
                        mb=$(git merge-base "$tip" "$save")
                        test "$mb" = "$tip" && continue
 
-                       git merge $accept_rerere --no-edit "$branch" ||
+                       EDITOR=: git merge $accept_rerere "$branch" ||
                        accept_rerere ||
                        exit