Merge branch 'maint'

* maint:
  git-gui: relax "dirty" version detection
maint
Shawn O. Pearce 2008-02-20 00:40:13 -05:00
commit cec8f51bd6
1 changed files with 1 additions and 1 deletions

View File

@ -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