./all admin-merge-2: show proper merge preview in the DP repo
authorRudolf Polzer <divverent@alientrap.org>
Sun, 23 May 2010 15:05:21 +0000 (17:05 +0200)
committerRudolf Polzer <divverent@alientrap.org>
Sun, 23 May 2010 15:05:21 +0000 (17:05 +0200)
all

diff --git a/all b/all
index 6cdb5032a283474f6445e9ed3a2046a2bf10e709..1e8c690205c115d677778221cf3e3decd9796895 100755 (executable)
--- a/all
+++ b/all
@@ -665,7 +665,7 @@ case "$cmd" in
                                if [ -n "$note" ]; then
                                        reportdo4 echo "$note"
                                        reportecho4 "--> not merging, already had this one rejected before"
-                               elif yesno "Branch \"$ref\" may want to get merged. Do it?" '{ git log --color HEAD.."$ref"; git diff --color --find-copies-harder --ignore-space-change HEAD..."$ref"; } | less -r'; then
+                               elif yesno "Branch \"$ref\" may want to get merged. Do it?" '{ git log --color master.."$ref"; git diff --color --find-copies-harder --ignore-space-change master..."$ref"; } | less -r'; then
                                        git checkout master
                                        org=`git rev-parse HEAD`
                                        if ! git merge "$ref" 2>&1 | tee "$t"; then