From: Junio C Hamano Date: Fri, 12 Aug 2011 17:56:30 GMT Subject: Re: git ls-files --error-unmatch weirdness Message-ID: <7vaabeo6nl.fsf@alter.siamese.dyndns.org> In-Reply-To: <20110812132436.GA12147@goldbirke> SZEDER Gábor writes: > repo (master)$ git ls-files --others --error-unmatch The "--error-unmatch" is about reporting errors in pathspecs you gave from the command line. The behaviour is undefined if you do not give any, like the above command line. Having said that, I wouldn't be surprised if it triggered when run from an empty subdirectory.