summaryrefslogtreecommitdiff
path: root/remote.c
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2015-08-25 16:06:53 -0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2015-08-25 16:08:58 -0700
commit13e0e28f530ae3e337c95b2e5c524f6904968cc0 (patch)
tree87a5bd6212f6e4f056c0ecb34d4691db6d4ed847 /remote.c
parentpull.sh: quote $upload_pack when passing it to git-fetch (diff)
downloadtgif-13e0e28f530ae3e337c95b2e5c524f6904968cc0.tar.xz
pull: pass upload_pack only when it was given
The upload_pack shell variable is initialized to an empty string, so conditional expansion with ${upload_pack+"$upload_pack"} would not work very well. You need a colon there. Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'remote.c')
0 files changed, 0 insertions, 0 deletions