[Bug 252028] sys/conf/newvers.sh: git "-dirty" even when clean

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Tue Dec 22 01:58:15 UTC 2020


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=252028

Ed Maste <emaste at freebsd.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Assignee|bugs at FreeBSD.org            |emaste at freebsd.org

--- Comment #1 from Ed Maste <emaste at freebsd.org> ---
Smaller change:

diff --git a/sys/conf/newvers.sh b/sys/conf/newvers.sh
index f5e34b4946a5..5ce93567e3af 100644
--- a/sys/conf/newvers.sh
+++ b/sys/conf/newvers.sh
@@ -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
 }

I'll commit this once the git repo is opened for commits

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-bugs mailing list