Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
Merge branch 'rr/name-rev-stdin-doc'
author
Junio C Hamano
<gitster@pobox.com>
Fri, 12 Jul 2013 19:04:14 +0000
(12:04 -0700)
committer
Junio C Hamano
<gitster@pobox.com>
Fri, 12 Jul 2013 19:04:14 +0000
(12:04 -0700)
* rr/name-rev-stdin-doc:
name-rev doc: rewrite --stdin paragraph
Documentation/git-name-rev.txt
patch
|
blob
|
history
raw
(from parent 1:
6492dea
)
diff --git
a/Documentation/git-name-rev.txt
b/Documentation/git-name-rev.txt
index 6b0f1ba75fc98dedf7b940355274ad25d3b458c5..15b00e09916fff47a8244432ce396c9b6f7fbec1 100644
(file)
--- a/
Documentation/git-name-rev.txt
+++ b/
Documentation/git-name-rev.txt
@@
-32,8
+32,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