Jeff King <peff@xxxxxxxx> 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). -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html