From: Junio C Hamano Date: Wed, 03 Apr 2013 18:20:57 GMT Subject: Re: [PATCH] git-tag(1): we tag HEAD by default Message-ID: <7v7gkj5vcm.fsf@alter.siamese.dyndns.org> In-Reply-To: <877gkjvecg.fsf@linux-k42r.v.cablecom.net> Thomas Rast writes: > There are some instances with the comma style: > > $ git grep ',.*::$' Documentation/*.txt > Documentation/blame-options.txt:-L ,, -L ::: > Documentation/config.txt:gitcvs.dbuser, gitcvs.dbpass:: > Documentation/config.txt:http.lowSpeedLimit, http.lowSpeedTime:: > Documentation/git-add.txt:-e, \--edit:: > Documentation/git-check-attr.txt:-a, --all:: > Documentation/git-check-ignore.txt:-q, --quiet:: > Documentation/git-check-ignore.txt:-v, --verbose:: > Documentation/git-log.txt:-L ,:, -L :::: > Documentation/git-p4.txt:--verbose, -v:: > Documentation/git-p4.txt:--dry-run, -n:: > Documentation/git-tag.txt:, :: The above are clearly candidate for clean-ups (the last one is your making I already killed in this thread, isn't it?). These are false matches, I think. > Documentation/diff-options.txt:--stat[=[,[,]]]:: > Documentation/diff-options.txt:--dirstat[=]:: > Documentation/git-index-pack.txt:--index-version=[,]:: > Documentation/git-log.txt:git log -L '/int main/',/^}/:main.c:: > Documentation/git-p4.txt:"//depot/my/project@1,6":: > Documentation/git-pack-objects.txt:--index-version=[,]:: > Documentation/git-remote-fd.txt:`git push fd::7,8 master (as URL)`:: > Documentation/git-remote-fd.txt:`git push fd::7,8/bar master`:: > Documentation/git-reset.txt:Undo a commit, making it a topic branch:: > Documentation/git-shortlog.txt:-w[[,[,]]]:: > Documentation/git-show-branch.txt:--reflog[=[,]] []:: I am not sure about these "A, e.g. B, C::" entries. I tend to think that they are all logically a single entry, that happen to have commas in their entry heading, and fall into the same "false matches" category as above. > Documentation/revisions.txt:'', e.g. 'dae86e1950b1277e545cee180551750029cfe735', 'dae86e':: > Documentation/revisions.txt:'', e.g. 'v1.7.4.2-679-g3bee7fb':: > Documentation/revisions.txt:'', e.g. 'master', 'heads/master', 'refs/heads/master':: > Documentation/revisions.txt:'@\{\}', e.g. 'master@\{yesterday\}', 'HEAD@\{5 minutes ago\ > Documentation/revisions.txt:'@\{\}', e.g. 'master@\{1\}':: > Documentation/revisions.txt:'@\{\}', e.g. '@\{1\}':: > Documentation/revisions.txt:'@\{-\}', e.g. '@\{-1\}':: > Documentation/revisions.txt:'@\{upstream\}', e.g. 'master@\{upstream\}', '@\{u\}':: > Documentation/revisions.txt:'{caret}', e.g. 'HEAD{caret}, v1.5.1{caret}0':: > Documentation/revisions.txt:'{tilde}', e.g. 'master{tilde}3':: > Documentation/revisions.txt:'{caret}\{\}', e.g. 'v0.99.8{caret}\{commit\}':: > Documentation/revisions.txt:'{caret}\{\}', e.g. 'v0.99.8{caret}\{\}':: > Documentation/revisions.txt:'{caret}\{/\}', e.g. 'HEAD^{/fix nasty bug}':: > Documentation/revisions.txt:':/', e.g. ':/fix nasty bug':: > Documentation/revisions.txt:':', e.g. 'HEAD:README', ':README', 'master:./README':: > Documentation/revisions.txt:'::', e.g. ':0:README', ':README':: > Documentation/revisions.txt:'{caret}@', e.g. 'HEAD{caret}@':: > Documentation/revisions.txt:'{caret}!', e.g. 'HEAD{caret}!'::