author | Pierre Habouzit <madcoder@debian.org> | |
Mon, 21 Jul 2008 18:15:59 +0000 (20:15 +0200) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Tue, 22 Jul 2008 05:36:29 +0000 (22:36 -0700) | ||
commit | d1f63a37caae19314bbd55c9fe3554d2e53537e7 | |
tree | ecbfcb539c8d80ce8ae9ac15cfbf28dd7dca0025 | tree | snapshot |
parent | 5d2299de2d9ff01318bc02ea8c7fbf8d3a699ae0 | 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 |