Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
name-rev doc: rewrite --stdin paragraph
author
Ramkumar Ramachandra
<artagnon@gmail.com>
Sun, 7 Jul 2013 12:43:16 +0000
(18:13 +0530)
committer
Junio C Hamano
<gitster@pobox.com>
Sun, 7 Jul 2013 18:17:50 +0000
(11:17 -0700)
Signed-off-by: Ramkumar Ramachandra <artagnon@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/git-name-rev.txt
patch
|
blob
|
history
raw
|
patch
| inline |
side by side
(parent:
62e91ef
)
diff --git
a/Documentation/git-name-rev.txt
b/Documentation/git-name-rev.txt
index ad1d1468c9936d206701d379003177e7457c884e..11da704b8d36089ad54c35dc27ed013d65fb8cc0 100644
(file)
--- 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 "(<rev_name>)" 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