cmd_fetch_pack(): combine the loop termination conditions
authorMichael Haggerty <mhagger@alum.mit.edu>
Mon, 21 May 2012 07:59:58 +0000 (09:59 +0200)
committerJunio C Hamano <gitster@pobox.com>
Tue, 22 May 2012 19:57:20 +0000 (12:57 -0700)
commitff22ff9909a09d775c740f31443f96edd5b5e006
tree924d95bbd3ce692a699f39fbea41f62a6c7e9b1b
parent4cc00fcf5daf63648b7fd9382ca3e02033a0e1ec
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>
builtin/fetch-pack.c