diff options
| author | Shawn O. Pearce <spearce@spearce.org> | 2007-07-08 21:19:59 -0400 |
|---|---|---|
| committer | Shawn O. Pearce <spearce@spearce.org> | 2007-07-08 22:34:51 -0400 |
| commit | 02087abccea681bc0e1f6a9607e97df79ebbf2d9 (patch) | |
| tree | ad466fc8d68d0fd3eb3d152a25cfdec3ccef60d2 /lib/diff.tcl | |
| parent | d41b43eb4c73044d0fff2057211fc78e4e7b2094 (diff) | |
| download | git-02087abccea681bc0e1f6a9607e97df79ebbf2d9.tar.gz | |
git-gui: Unabbreviate commit SHA-1s prior to display
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>
Diffstat (limited to 'lib/diff.tcl')
0 files changed, 0 insertions, 0 deletions
