1
0
mirror of https://github.com/git/git.git synced 2024-11-18 17:03:56 +01:00

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

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