diff options
author | Junio C Hamano <gitster@pobox.com> | 2012-06-01 12:38:19 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2012-06-01 12:38:19 -0700 |
commit | 682853e687ff0106bea25bdb5e9d60d9657cecb3 (patch) | |
tree | fac9331c2b5fd3aa6727f098ce7ca491a8b6a148 /replace_object.c | |
parent | Git 1.7.10.3 (diff) | |
download | tgif-682853e687ff0106bea25bdb5e9d60d9657cecb3.tar.xz |
request-pull: really favor a matching tag
After tagging the tip of "dev" branch with a "for-linus" tag and
pushing both out, running
$ git request-pull $url $last_release dev
would produce an output asking the 'dev' branch of $url to be
pulled, because that is what the user asked the message to say.
We already detect this situation locally and include the contents of
the tag in the output; if the $url has that tag, favor that tag
(i.e. "for-linus") in the generated message over the branch name the
user gave us (i.e. "dev") from the command line, to make the output
look more consistent.
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'replace_object.c')
0 files changed, 0 insertions, 0 deletions