Ramkumar Ramachandra artag...@gmail.com writes:
Finds symbolic names suitable for human digestion for revisions
given in any format parsable by git rev-parse.
It is meant to name _revisions_ (aka. commits):
That is a mistaken documentation, written based on a half-baked
implementation
git name-rev is supposed to convert 40-hex object names into
strings that name the same objects based on refs, that can be fed to
git rev-parse to get the same object names back, so
$ git rev-parse v1.8.3 v1.8.3^0 | git name-rev --stdin
8af06057d0c31a24e8737ae846ac2e116e8bafb9
2 matches
Mail list logo