fetch-pack.c: show correct command name that fails
commit4727f671b834a565343ed1af613654ba4d6ececc
authorNguyễn Thái Ngọc Duy <pclouds@gmail.com>
Wed, 18 Sep 2013 13:41:18 +0000 (18 20:41 +0700)
committerJunio C Hamano <gitster@pobox.com>
Wed, 18 Sep 2013 18:11:53 +0000 (18 11:11 -0700)
treea982250efcf42f7dd78a73d7dc595a96fff2f40d
parent6035d6aad8ca11954c0d7821f6f3e7c047039c8f
fetch-pack.c: show correct command name that fails

When --shallow-file is added to the command line, it has to be
before the subcommand name, the first argument won't be the command
name any more. Stop assuming that and keep track of the command name
explicitly.

Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
fetch-pack.c