git-gui: Show only the abbreviated SHA1 after committing.
[gitweb.git] / git-gui
diff --git a/git-gui b/git-gui
index c57d713144930b70d2c10c2fb117e5c42d29e651..1b1ffee5ea3edb5b90fbc866e01e52fa51043c11 100755 (executable)
--- a/git-gui
+++ b/git-gui
@@ -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]."
 }
 
 ######################################################################