summaryrefslogtreecommitdiff
path: root/replace_object.c
diff options
context:
space:
mode:
authorLibravatar Jeff King <peff@peff.net>2010-03-03 14:19:09 -0800
committerLibravatar Junio C Hamano <gitster@pobox.com>2010-03-03 14:33:21 -0800
commitcaa9c3cabe9c2719a340425db5c0968fd3588fc9 (patch)
treee04b4645c5684dc131aadb4ba9e8698662e5aa1b /replace_object.c
parentsubmodule summary: Don't barf when invoked in an empty repo (diff)
downloadtgif-caa9c3cabe9c2719a340425db5c0968fd3588fc9.tar.xz
submodule summary: do not shift a non-existent positional variable
When "git submodule summary" is run without any argument, we default to compare the state of index with the HEAD, but tried to shift out $1 that does not exist (and worse yet, we didn't use it). Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'replace_object.c')
0 files changed, 0 insertions, 0 deletions