summaryrefslogtreecommitdiff
path: root/git-gui/git-gui.sh
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2008-02-23 19:49:34 (GMT)
committerJunio C Hamano <gitster@pobox.com>2008-02-23 19:49:34 (GMT)
commit923d44aeb7cb6d21eeb459fdc1b58137e37c2b1c (patch)
tree324f50710997113250f1c24abf043eceb2c2b883 /git-gui/git-gui.sh
parent0d2dd191cdfa3f1795c4df60a5cfb0f7e58c097a (diff)
parent31e0b2ca81ad985a8768c33c0aba547a51d05277 (diff)
downloadgit-923d44aeb7cb6d21eeb459fdc1b58137e37c2b1c.zip
git-923d44aeb7cb6d21eeb459fdc1b58137e37c2b1c.tar.gz
git-923d44aeb7cb6d21eeb459fdc1b58137e37c2b1c.tar.bz2
Sync with 1.5.4.3
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'git-gui/git-gui.sh')
-rwxr-xr-xgit-gui/git-gui.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/git-gui/git-gui.sh b/git-gui/git-gui.sh
index 5d65272..238a239 100755
--- a/git-gui/git-gui.sh
+++ b/git-gui/git-gui.sh
@@ -663,7 +663,7 @@ if {![regsub {^git version } $_git_version {} _git_version]} {
}
set _real_git_version $_git_version
-regsub -- {-dirty$} $_git_version {} _git_version
+regsub -- {[\-\.]dirty$} $_git_version {} _git_version
regsub {\.[0-9]+\.g[0-9a-f]+$} $_git_version {} _git_version
regsub {\.rc[0-9]+$} $_git_version {} _git_version
regsub {\.GIT$} $_git_version {} _git_version