Re: [PATCH 2/4] name-rev: allow converting the exact object name at the tip of a ref

2013-07-08 Thread Junio C Hamano
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

[PATCH 2/4] name-rev: allow converting the exact object name at the tip of a ref

2013-07-07 Thread Junio C Hamano
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