From: Krzysztof Mazur Date: Sat, 10 Nov 2012 15:57:18 GMT Subject: Re: git-reset man page Message-ID: <20121110155718.GA29321@shrek.podlesie.net> In-Reply-To: On Sat, Nov 10, 2012 at 10:55:13AM +0100, Angelo Borsotti wrote: > Hi > > the man page of git-reset, synopsys, does not allow for an > argumentless call, and the description does not tell either what is > the meaning of it. This issue was already reported by Bojan Petrović: http://thread.gmane.org/gmane.comp.version-control.git/208505 and fixed in commit d505865be5c7d72abb74318940e8c4c52aa0db5f (doc: git-reset: make "" optional) in master branch. "git reset" is equivalent to "git reset --mixed". > Suggested changes: > > first line of synopsis: > > gitt reset [-q] [] [ [--] ...] > > Description: append to the end of the first paragraph: > > "If no are specified, all the index entries are reset." > > I would suggest to change with in all the man page > because paths in the glossary are called pathspecs. > The issue seems to be bigger - "", "" and "" are mixed in whole manual: $ cat Documentation/*.txt | grep -o ']*>' | sort | uniq -c | sort -n -r 125 17 10 2 2 1 1 In commands it's even worse: $ cat builtin/*.c | grep -o ']*>' | sort | uniq -c | sort -n -r 14 15 Note: is not always used for pathspec. In git-checkout manual in synopsis "" is used, but in description "". Maybe we should just add that is an shortcut for and fix places where paths and pathspec are mixed or is used as . Thanks, Krzysiek