summaryrefslogtreecommitdiff
path: root/builtin/receive-pack.c
diff options
context:
space:
mode:
authorLibravatar Michael Haggerty <mhagger@alum.mit.edu>2012-05-21 09:59:58 +0200
committerLibravatar Junio C Hamano <gitster@pobox.com>2012-05-22 12:57:20 -0700
commitff22ff9909a09d775c740f31443f96edd5b5e006 (patch)
tree924d95bbd3ce692a699f39fbea41f62a6c7e9b1b /builtin/receive-pack.c
parentcmd_fetch_pack(): handle non-option arguments outside of the loop (diff)
downloadtgif-ff22ff9909a09d775c740f31443f96edd5b5e006.tar.xz
cmd_fetch_pack(): combine the loop termination conditions
If an argument that does not start with '-' is found, the loop is terminated. So move that check into the for-loop condition. Signed-off-by: Michael Haggerty <mhagger@alum.mit.edu> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/receive-pack.c')
0 files changed, 0 insertions, 0 deletions