summaryrefslogtreecommitdiff
path: root/git-gui/git-gui.sh
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2008-02-23 19:23:59 (GMT)
committerJunio C Hamano <gitster@pobox.com>2008-02-23 19:23:59 (GMT)
commite98d6df75260312e906278705f78f2eee39cc8fc (patch)
treef86ce97ef1d41b7dc99ad1dc67f109d8cf6399e7 /git-gui/git-gui.sh
parent9ea0980a091b16501d143261eed40072030892e8 (diff)
parent3baee1f3bf8e30f0fc67bbb1a49877bf0660fd29 (diff)
downloadgit-e98d6df75260312e906278705f78f2eee39cc8fc.zip
git-e98d6df75260312e906278705f78f2eee39cc8fc.tar.gz
git-e98d6df75260312e906278705f78f2eee39cc8fc.tar.bz2
Merge branch 'maint' of git://repo.or.cz/git-gui into maint
* 'maint' of git://repo.or.cz/git-gui: git-gui: Focus insertion point at end of strings in repository chooser git-gui: Avoid hardcoded Windows paths in Cygwin package files git-gui: Default TCL_PATH to same location as TCLTK_PATH git-gui: Paper bag fix error dialogs opening over the main window git-gui: Ensure error dialogs always appear over all other windows git-gui: relax "dirty" version detection git-gui: support Git Gui.app under OS X 10.5
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 f42e461..04bd425 100755
--- a/git-gui/git-gui.sh
+++ b/git-gui/git-gui.sh
@@ -662,7 +662,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