aboutsummaryrefslogtreecommitdiff
path: root/git-request-pull.sh
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2012-02-07 12:57:10 -0800
committerJunio C Hamano <gitster@pobox.com>2012-02-07 12:57:10 -0800
commitdc347e9f6a2c106bb684d93dfbc38e3f3df2795b (patch)
treef06144e5a57ded1b672eda1a35657f7aa8399912 /git-request-pull.sh
parent715d13046060028ee33b9db3500ea66eeead7e20 (diff)
parent2ad9ba0382ca0d9a36746db804d1bf01f5281b8e (diff)
downloadgit-dc347e9f6a2c106bb684d93dfbc38e3f3df2795b.tar.xz
Merge branch 'jc/maint-request-pull-for-tag'
* jc/maint-request-pull-for-tag: request-pull: explicitly ask tags/$name to be pulled
Diffstat (limited to 'git-request-pull.sh')
-rwxr-xr-xgit-request-pull.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/git-request-pull.sh b/git-request-pull.sh
index 64960d65a1..e6438e24c7 100755
--- a/git-request-pull.sh
+++ b/git-request-pull.sh
@@ -63,7 +63,7 @@ die "fatal: No commits in common between $base and $head"
find_matching_ref='
sub abbr {
my $ref = shift;
- if ($ref =~ s|refs/heads/|| || $ref =~ s|refs/tags/||) {
+ if ($ref =~ s|^refs/heads/|| || $ref =~ s|^refs/tags/|tags/|) {
return $ref;
} else {
return $ref;