From: Duy Nguyen Date: Fri, 03 Apr 2015 13:55:48 GMT Subject: Re: [PATCH] improve documentation for some commands that use pathspecs Message-ID: In-Reply-To: <20150331152224.GA16617@kitenet.net> On Tue, Mar 31, 2015 at 10:22 PM, Joey Hess wrote: > After being surprised that git-ls-files expands pathspecs, here's a patch > that would have saved me. > --- > Documentation/git-ls-files.txt | 9 +++++---- > Documentation/git-ls-tree.txt | 8 ++++---- ls-tree only supports straight file or directory paths, no globbing or other magic (except ":/") so I'm not sure if we should change its man page now. On the bright side, if you use unsupported pathspec feature on ls-tree, it'll reject, so not so bad. -- Duy