aboutsummaryrefslogtreecommitdiff
path: root/git-merge.sh
diff options
context:
space:
mode:
authorJunio C Hamano <junkio@cox.net>2006-12-24 02:18:35 -0800
committerJunio C Hamano <junkio@cox.net>2006-12-24 02:18:35 -0800
commite036c90a913889dfa8097ebe73b619370e0c6f32 (patch)
tree2d910b13395345d9d9bc7c9137d1f6e9bb71d64a /git-merge.sh
parent9def2138a17325c68961c3b1e6c967d33f28a4f1 (diff)
parente0ec18192db8a5f80705a81dfaa1caa3e6c48c1a (diff)
downloadgit-e036c90a913889dfa8097ebe73b619370e0c6f32.tar.gz
git-e036c90a913889dfa8097ebe73b619370e0c6f32.tar.xz
Merge branch 'sb/merge-friendly'
* sb/merge-friendly: Display 'theirs' branch name when possible in merge. Use extended SHA1 syntax in merge-recursive conflicts.
Diffstat (limited to 'git-merge.sh')
-rwxr-xr-xgit-merge.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/git-merge.sh b/git-merge.sh
index aec215e72..7dd0a1123 100755
--- a/git-merge.sh
+++ b/git-merge.sh
@@ -221,6 +221,8 @@ do
remotehead=$(git-rev-parse --verify "$remote"^0 2>/dev/null) ||
die "$remote - not something we can merge"
remoteheads="${remoteheads}$remotehead "
+ eval GITHEAD_$remotehead='"$remote"'
+ export GITHEAD_$remotehead
done
set x $remoteheads ; shift