From: Junio C Hamano Date: Wed, 03 Mar 2010 20:32:11 GMT Subject: Re: Latest master failing t7401 submodule tests Message-ID: <7vhboxno38.fsf@alter.siamese.dyndns.org> In-Reply-To: <20100303200239.GA28904@coredump.intra.peff.net> Jeff King writes: > I did see it on my debian unstable box with with dash as /bin/sh (though 3deea89 (submodule summary: Don't barf when invoked in an empty repo, 2010-02-16) looks broken. It shifts $1 unconditionally when: - "git submodule summary", no arguments given and defaults to HEAD which is _not_ unborn (we shouldn't shift in this case); - "git submodule summary HEAD path...", which is not unborn (we should shift); - "git submodule summary path...", defaults to HEAD which is _not_ unborn (we shouldn't shift).