From: Pierre Habouzit Date: Mon, 21 Jul 2008 18:15:59 +0000 (+0200) Subject: git-submodule: move ill placed shift. X-Git-Tag: v1.6.0-rc1~77 X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/d1f63a37caae19314bbd55c9fe3554d2e53537e7?hp=d1f63a37caae19314bbd55c9fe3554d2e53537e7 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 Signed-off-by: Junio C Hamano ---