From: Drew Northup Date: Sun, 18 Nov 2012 16:55:09 GMT Subject: Re: git-reset man page Message-ID: In-Reply-To: <20121110204633.GA29363@shrek.podlesie.net> On Sat, Nov 10, 2012 at 3:46 PM, Krzysztof Mazur wrote: > On Sat, Nov 10, 2012 at 12:02:12PM -0800, Junio C Hamano wrote: >> Krzysztof Mazur writes: >> >> > Maybe we should just add that is an shortcut for >> > and fix places where paths and pathspec are mixed or is used as >> > . >> >> We should unify uses of and (the former should be >> ... or something). > > Currently in most cases "..." is used ;) > So we should always use "" for exact path, and "" for > pathspecs patterns as defined in gitglossary. I think it's better > to avoid "" and always use "..." or "..." I suspect that the only reason why the differentiation between "" and "" happened is because there may be some places where it was seen that a _list of paths_ was acceptable (which isn't a pathspec, as it isn't a search expression) and other places where _only_ a single path was acceptable. Should that fail to be the case then there would be a good argument for changing the affected instances of "" to "" in the documentation. (I know of no other good way to pluralize "" myself.) -- -Drew Northup -------------------------------------------------------------- "As opposed to vegetable or mineral error?" -John Pescatore, SANS NewsBites Vol. 12 Num. 59