submodule summary: do not shift a non-existent positional variable
authorJeff King <redacted>
Wed, 3 Mar 2010 22:19:09 +0000 (14:19 -0800)
committerJunio C Hamano <redacted>
Wed, 3 Mar 2010 22:33:21 +0000 (14:33 -0800)
commitcaa9c3cabe9c2719a340425db5c0968fd3588fc9
treee04b4645c5684dc131aadb4ba9e8698662e5aa1b
parent3deea89c5feb0dfdfb99ea752f83497d97a3bdd5
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 <redacted>
git-submodule.sh
git clone https://git.99rst.org/PROJECT