From: Duy Nguyen Date: Fri, 03 Apr 2015 13:57:45 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 ++++---- > 2 files changed, 9 insertions(+), 8 deletions(-) > > diff --git a/Documentation/git-ls-files.txt b/Documentation/git-ls-files.txt > index e26f01f..f7a3039 100644 > --- a/Documentation/git-ls-files.txt > +++ b/Documentation/git-ls-files.txt > @@ -17,7 +17,7 @@ SYNOPSIS > [--exclude-per-directory=] > [--exclude-standard] > [--error-unmatch] [--with-tree=] > - [--full-name] [--abbrev] [--] [...] > + [--full-name] [--abbrev] [--] [...] Just a note that "git ls-files -h" still says "", from ls_files_usage in builtin/ls-files.c -- Duy