1
0
Fork 0
mirror of https://github.com/git/git.git synced 2024-10-29 21:37:53 +01:00

git-gui: Show only the abbreviated SHA1 after committing.

There's really no great reason to show the entire commit object id
within the GUI, especially if the user is unable to copy and paste
it into another interface such as gitk or a terminal window.  So
we'll just show them the first 8 digits and hope that is unique
within their repository.

Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
This commit is contained in:
Shawn O. Pearce 2006-11-08 22:51:09 -05:00
parent 7fe7e733fa
commit d4ab2035ca

View file

@ -626,7 +626,7 @@ proc commit_stage2 {fd_wt curHEAD msg} {
set HEAD $cmt_id
set PARENT $cmt_id
unlock_index
update_status "Changes committed as $cmt_id."
update_status "Changes committed as [string range $cmt_id 0 7]."
}
######################################################################