]> git.ipfire.org Git - thirdparty/git.git/commit - git-request-pull.sh
request-pull: update the "pull" command generation logic
authorJunio C Hamano <gitster@pobox.com>
Fri, 16 Dec 2011 17:00:11 +0000 (09:00 -0800)
committerJunio C Hamano <gitster@pobox.com>
Fri, 16 Dec 2011 17:25:20 +0000 (09:25 -0800)
commitfe46fa9d267fc5465b320d0d2877de45333efeb8
treeea2f0a6328e601f9bd83b1b6e36ffa8693d13dc5
parentd050464541d51ab65863218d93b351de3392f476
request-pull: update the "pull" command generation logic

The old code that insisted on asking for the tip of a branch to be pulled
were not updated when we started allowing for a tag to be pulled. When a
tag points at an older part of the history and there is no branch that
points at the tagged commit, the script failed to say which ref is to be
pulled.

Signed-off-by: Junio C Hamano <gitster@pobox.com>
git-request-pull.sh
t/t5150-request-pull.sh