Revision 02087abccea681bc0e1f6a9607e97df79ebbf2d9 authored by Shawn O. Pearce on 09 July 2007, 01:19:59 UTC, committed by Shawn O. Pearce on 09 July 2007, 02:34:51 UTC
If the end-user feeds us an abbreviated SHA-1 on the command line for
`git gui browser` or `git gui blame` we now unabbreviate the value
through `git rev-parse` so that the title section of the blame or
browser window shows the user the complete SHA-1 as Git determined
it to be.

If the abbreviated value was ambiguous we now complain with the
standard error message(s) as reported by git-rev-parse --verify,
so that the user can understand what might be wrong and correct
their command line.

Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
1 parent d41b43e
History
File Mode Size
lib
.gitignore -rw-r--r-- 62 bytes
GIT-VERSION-GEN -rwxr-xr-x 1.8 KB
Makefile -rw-r--r-- 4.6 KB
git-gui.sh -rwxr-xr-x 58.9 KB

back to top