From: Junio C Hamano Date: Fri, 06 Feb 2009 05:29:42 GMT Subject: Re: [PATCH] submodule: handle trailing slash, warn about non-submodules Message-ID: <7vzlh0875l.fsf@gitster.siamese.dyndns.org> In-Reply-To: Johannes Schindelin writes: > Earlier, when you called > > git submodule path/to/submodule/ > > (which happens easily if you are a heavy user of tab-completion), Git > would silently ignore the given path, as "git ls-files path/to/submodule/" > does not return anything due to the trailing slash. Does --error-unmatch help in such a case to avoid shell loops?