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
@ -162,7 +162,7 @@ findvcs()
|
|||||||
|
|
||||||
git_tree_modified()
|
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
|
LC_ALL=C; export LC_ALL
|
||||||
|
Loading…
x
Reference in New Issue
Block a user