X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=git-merge-octopus.sh;h=8643f74cb09f278c37851c418e839c7d160f36ca;hb=a961d1f1ea2e3aaef0ff3e75920d1cd830d9b423;hp=615753c83c38f4a97752d5ca3400beeef4acd5f1;hpb=71ee7fd15457a0252c089420b5b66de266dcbd2f;p=git.git diff --git a/git-merge-octopus.sh b/git-merge-octopus.sh index 615753c83..8643f74cb 100755 --- a/git-merge-octopus.sh +++ b/git-merge-octopus.sh @@ -61,6 +61,11 @@ do esac eval pretty_name=\${GITHEAD_$SHA1:-$SHA1} + if test "$SHA1" = "$pretty_name" + then + SHA1_UP="$(echo "$SHA1" | tr a-z A-Z)" + eval pretty_name=\${GITHEAD_$SHA1_UP:-$pretty_name} + fi common=$(git merge-base --all $SHA1 $MRC) || die "Unable to find common commit with $pretty_name"