mirror of
https://github.com/opnsense/src.git
synced 2026-06-08 16:22:46 -04:00
newvers.sh: fix sense of git dirty check
Previously we reported -dirty for an unmodified tree, and no -dirty if there were changes. PR: 252028 Reported by: John Kennedy
This commit is contained in:
parent
5ef5f51d2b
commit
17eba5e32a
1 changed files with 1 additions and 1 deletions
|
|
@ -162,7 +162,7 @@ findvcs()
|
|||
|
||||
git_tree_modified()
|
||||
{
|
||||
$git_cmd "--work-tree=${VCSTOP}" -c core.checkStat=minimal -c core.fileMode=off diff --quiet
|
||||
! $git_cmd "--work-tree=${VCSTOP}" -c core.checkStat=minimal -c core.fileMode=off diff --quiet
|
||||
}
|
||||
|
||||
LC_ALL=C; export LC_ALL
|
||||
|
|
|
|||
Loading…
Reference in a new issue