Merge branch 'jk/name-rev-update-hash-descriptions' into jch
The documentation for 'git-name-rev' has been updated to refer to object IDs instead of SHA-1, to more accurately reflect that the active hash algorithm is used. * jk/name-rev-update-hash-descriptions: name-rev: update hash descriptions
commit
de2e553e20
|
|
@ -43,7 +43,7 @@ OPTIONS
|
|||
List all commits reachable from all refs
|
||||
|
||||
--annotate-stdin::
|
||||
Transform stdin by substituting all the 40-character SHA-1
|
||||
Transform stdin by substituting all the full-length object ID
|
||||
hexes (say $hex) with "$hex ($rev_name)". When used with
|
||||
--name-only, substitute with "$rev_name", omitting $hex
|
||||
altogether. This option was called `--stdin` in older versions
|
||||
|
|
@ -72,7 +72,7 @@ while its tree object is 70d105cc79e63b81cfdcb08a15297c23e60b07ad
|
|||
-----------
|
||||
|
||||
--name-only::
|
||||
Instead of printing both the SHA-1 and the name, print only
|
||||
Instead of printing both the object ID and the name, print only
|
||||
the name. If given with --tags the usual tag prefix of
|
||||
"tags/" is also omitted from the name, matching the output
|
||||
of `git-describe` more closely.
|
||||
|
|
|
|||
Loading…
Reference in New Issue