From: Ramkumar Ramachandra Date: Sun, 7 Jul 2013 12:43:16 +0000 (+0530) Subject: name-rev doc: rewrite --stdin paragraph X-Git-Tag: v1.8.3.4~18^2 X-Git-Url: http://git.bitbasher.net/?a=commitdiff_plain;h=3087b615abac487a5f52d31c10bc48f2c769654b;p=git.git name-rev doc: rewrite --stdin paragraph Signed-off-by: Ramkumar Ramachandra Signed-off-by: Junio C Hamano --- diff --git a/Documentation/git-name-rev.txt b/Documentation/git-name-rev.txt index ad1d1468c9..11da704b8d 100644 --- a/Documentation/git-name-rev.txt +++ b/Documentation/git-name-rev.txt @@ -31,8 +31,10 @@ OPTIONS List all commits reachable from all refs --stdin:: - Read from stdin, append "()" to all sha1's of nameable - commits, and pass to stdout + Transform stdin by substituting all the 40-character SHA-1 + hexes (say $hex) with "$hex ($rev_name)". When used with + --name-only, substitute with "$rev_name", omitting $hex + altogether. Intended for the scripter's use. --name-only:: Instead of printing both the SHA-1 and the name, print only