author | Junio C Hamano <gitster@pobox.com> | |
Fri, 16 Dec 2011 17:00:11 +0000 (09:00 -0800) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Fri, 16 Dec 2011 17:25:20 +0000 (09:25 -0800) | ||
commit | fe46fa9d267fc5465b320d0d2877de45333efeb8 | |
tree | ea2f0a6328e601f9bd83b1b6e36ffa8693d13dc5 | tree | snapshot |
parent | d050464541d51ab65863218d93b351de3392f476 | commit | diff |
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>
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 | diff | blob | history | |
t/t5150-request-pull.sh | diff | blob | history |