diff --git a/git-request-pull.sh b/git-request-pull.sh
index 7b5c777f0b137d9050dfed02eebe78f1a2ebd6c9..64960d65a1c2bf3c260c8fd46c4b298ae870679f 100755 (executable)
--- a/git-request-pull.sh
+++ b/git-request-pull.sh
find_matching_ref='
sub abbr {
my $ref = shift;
- if ($ref =~ s|refs/heads/||) {
+ if ($ref =~ s|refs/heads/|| || $ref =~ s|refs/tags/||) {
return $ref;
- } elsif ($ref =~ s|refs/tags/||) {
- return "tag $ref";
} else {
return $ref;
}
%s (%ci)
are available in the git repository at:
-' $baserev &&
+' $merge_base &&
echo " $url${ref+ $ref}" &&
git show -s --format='
for you to fetch changes up to %H: