author | Pierre Habouzit <madcoder@debian.org> | |
Mon, 21 Jul 2008 18:15:59 +0000 (20:15 +0200) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Sat, 2 Aug 2008 06:16:38 +0000 (23:16 -0700) | ||
commit | 00332b8152c541fcb8887019bb04dd425739d038 | |
tree | 6ffee64e761615848fa4c1eb6fd9a3e598ad9e36 | tree | snapshot |
parent | 734a6ffafb754323a4cde51b61a6099b46d03466 | commit | diff |
git-submodule: move ill placed shift.
When running git submodule update -i, the "-i" is shifted before recursing
into cmd_init and then again outside of the loop. This causes some /bin/sh
to complain about shifting when there are no arguments left (and would
discard anything written after -i too).
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
When running git submodule update -i, the "-i" is shifted before recursing
into cmd_init and then again outside of the loop. This causes some /bin/sh
to complain about shifting when there are no arguments left (and would
discard anything written after -i too).
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
git-submodule.sh | diff | blob | history |