Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 22 Dec 2020 01:58:14 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 252028] sys/conf/newvers.sh: git "-dirty" even when clean
Message-ID:  <bug-252028-227-NTrAdHvRam@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-252028-227@https.bugs.freebsd.org/bugzilla/>
References:  <bug-252028-227@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D252028

Ed Maste <emaste@freebsd.org> changed:

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

--- Comment #1 from Ed Maste <emaste@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=3D${VCSTOP}" -c core.checkStat=3Dminimal -c
core.fileMode=3Doff diff --quiet
+       ! $git_cmd "--work-tree=3D${VCSTOP}" -c core.checkStat=3Dminimal -c
core.fileMode=3Doff diff --quiet
 }

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

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-252028-227-NTrAdHvRam>