From: Junio C Hamano Date: Wed, 21 Sep 2016 16:52:41 GMT Subject: Re: v2.10.0: ls-tree exit status is always 0, this differs from ls(1) Message-ID: In-Reply-To: <20160921132655.h49HMsHbp%steffen@sdaoden.eu> Steffen Nurpmeso writes: > I think this behaviour contradicts the manual which strongly links > ls-tree to ls(1): Patches to the documentation is very much welcomed. Somewhere the similarity must end, and actually it ends a lot earlier, as "/bin/ls" takes exact paths while "ls-tree" (or any other Git command for that matter) takes a pathspec pattern, and not having a path that matches the pathspec pattern is not an error condition. Thanks.