author | Johannes Sixt <johannes.sixt@telecom.at> | |
Sat, 9 Jun 2007 20:34:16 +0000 (22:34 +0200) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Wed, 13 Jun 2007 05:26:07 +0000 (22:26 -0700) | ||
commit | 6718f1f0d07167128c2d23c15081ea5660e865e9 | |
tree | bbc59a319c21c35643d03ead494c00638c6a11ef | tree | snapshot |
parent | 9a7d941056fcf6df8324097b73c78353174e4e1b | commit | diff |
git-remote show: Also shorten non-fast-forward refs in the 'push' listing
'git-remote show remote-name' lists the refs that are pushed to the remote
by showing the 'Push' line from the config file. But before showing it,
it shortened 'refs/heads/here:refs/heads/there' to 'here:there'. However,
if the Push line is prefixed with a plus, the ref was not shortened.
Signed-off-by: Johannes Sixt <johannes.sixt@telecom.at>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
'git-remote show remote-name' lists the refs that are pushed to the remote
by showing the 'Push' line from the config file. But before showing it,
it shortened 'refs/heads/here:refs/heads/there' to 'here:there'. However,
if the Push line is prefixed with a plus, the ref was not shortened.
Signed-off-by: Johannes Sixt <johannes.sixt@telecom.at>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
git-remote.perl | diff | blob | history |