Merge branch 'maint'

* maint:
  git-gui: relax "dirty" version detection
This commit is contained in:
Shawn O. Pearce 2008-02-20 00:40:13 -05:00
commit cec8f51bd6

View File

@ -663,7 +663,7 @@ if {![regsub {^git version } $_git_version {} _git_version]} {
} }
set _real_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 {\.[0-9]+\.g[0-9a-f]+$} $_git_version {} _git_version
regsub {\.rc[0-9]+$} $_git_version {} _git_version regsub {\.rc[0-9]+$} $_git_version {} _git_version
regsub {\.GIT$} $_git_version {} _git_version regsub {\.GIT$} $_git_version {} _git_version