name-rev doc: rewrite --stdin paragraph

Signed-off-by: Ramkumar Ramachandra <artagnon@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>

Ramkumar Ramachandra committed Jul 7, 2013 at 18:13 UTC 3087b615abac487a5f52d31c10bc48f2c769654b
1 file changed +4 -2
Documentation/git-name-rev.txt
+4 -2
@@ -31,8 +31,10 @@ OPTIONS
31 List all commits reachable from all refs
32
33 --stdin::
34 - Read from stdin, append "(<rev_name>)" to all sha1's of nameable
35 - commits, and pass to stdout
34 + Transform stdin by substituting all the 40-character SHA-1
35 + hexes (say $hex) with "$hex ($rev_name)". When used with
36 + --name-only, substitute with "$rev_name", omitting $hex
37 + altogether. Intended for the scripter's use.
38
39 --name-only::
40 Instead of printing both the SHA-1 and the name, print only