Merge branch 'maint'
* maint: git-gui: relax "dirty" version detection
This commit is contained in:
commit
cec8f51bd6
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user