summaryrefslogtreecommitdiff
path: root/git-gui.sh
diff options
context:
space:
mode:
authorShawn O. Pearce <spearce@spearce.org>2008-02-20 00:40:13 -0500
committerShawn O. Pearce <spearce@spearce.org>2008-02-20 00:40:13 -0500
commitcec8f51bd64410ebd94ac6c9be2f34514298d193 (patch)
tree988bfcf1f5a065664d84756c2048b925c74d9e49 /git-gui.sh
parentc548f8627317780a017546a0a58117c7ee730cea (diff)
parent2c2a3782c5092f232e71e8d97272b82cdca0664e (diff)
downloadgit-cec8f51bd64410ebd94ac6c9be2f34514298d193.tar.gz
Merge branch 'maint'
* maint: git-gui: relax "dirty" version detection
Diffstat (limited to 'git-gui.sh')
-rwxr-xr-xgit-gui.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/git-gui.sh b/git-gui.sh
index 5d65272e26..238a2393ff 100755
--- a/git-gui.sh
+++ b/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