summaryrefslogtreecommitdiff
path: root/builtin/send-pack.c
diff options
context:
space:
mode:
authorLibravatar Michael Haggerty <mhagger@alum.mit.edu>2012-05-21 09:59:57 +0200
committerLibravatar Junio C Hamano <gitster@pobox.com>2012-05-22 12:57:19 -0700
commit4cc00fcf5daf63648b7fd9382ca3e02033a0e1ec (patch)
tree0386e1cab40b41fedd741739ca7ed27cdca41aad /builtin/send-pack.c
parentcmd_fetch_pack(): declare dest to be const (diff)
downloadtgif-4cc00fcf5daf63648b7fd9382ca3e02033a0e1ec.tar.xz
cmd_fetch_pack(): handle non-option arguments outside of the loop
This makes it more obvious that the code is always executed unless there is an error, and that the first initialization of nr_heads is unnecessary. Signed-off-by: Michael Haggerty <mhagger@alum.mit.edu> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/send-pack.c')
0 files changed, 0 insertions, 0 deletions