summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 7fe7e73)
raw | patch | inline | side by side (parent: 7fe7e73)
author | Shawn O. Pearce <spearce@spearce.org> | |
Thu, 9 Nov 2006 03:51:09 +0000 (22:51 -0500) | ||
committer | Shawn O. Pearce <spearce@spearce.org> | |
Thu, 9 Nov 2006 03:51:09 +0000 (22:51 -0500) |
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>
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>
git-gui | patch | blob | history |
index c57d713144930b70d2c10c2fb117e5c42d29e651..1b1ffee5ea3edb5b90fbc866e01e52fa51043c11 100755 (executable)
--- a/git-gui
+++ b/git-gui
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]."
}
######################################################################