aboutsummaryrefslogtreecommitdiff
path: root/cache.h
diff options
context:
space:
mode:
authorMichael J Gruber <git@drmicha.warpmail.net>2009-06-13 18:29:11 +0200
committerJunio C Hamano <gitster@pobox.com>2009-06-13 10:38:11 -0700
commit4a4b4cdaabde477514c4938b60961538e1d2d91f (patch)
tree57a1b51524c7684824a52b4af3a67241737f537d /cache.h
parent857f8c30d79ce15b6110b0df9d3ad87075ca5153 (diff)
downloadgit-4a4b4cdaabde477514c4938b60961538e1d2d91f.tar.gz
git-4a4b4cdaabde477514c4938b60961538e1d2d91f.tar.xz
builtin-remote: Make "remote -v" display push urls
Currently, "remote -v" simply lists all urls so that one has to remember that only the first one is used for fetches, and all are used for pushes. Change this so that the role of an url is displayed in parentheses, and also display push urls. Example with "one" having one url, "two" two urls, "three" one url and one pushurl: one hostone.com:/somepath/repoone.git (fetch) one hostone.com:/somepath/repoone.git (push) three http://hostthree.com/otherpath/repothree.git (fetch) three hostthree.com:/pathforpushes/repothree.git (push) two hosttwo.com:/somepath/repotwo.git (fetch) two hosttwo.com:/somepath/repotwo.git (push) two hosttwobackup.com:/somewheresafe/repotwo.git (push) Signed-off-by: Michael J Gruber <git@drmicha.warpmail.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'cache.h')
0 files changed, 0 insertions, 0 deletions