]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
newvers.sh: add support for gitup(1)
authorMichael Osipov <michael.osipov@siemens.com>
Tue, 5 Jan 2021 10:48:39 +0000 (11:48 +0100)
committerUlrich Spörlein <uqs@FreeBSD.org>
Wed, 20 Jan 2021 09:48:27 +0000 (10:48 +0100)
commita9fc14fbf445cffd18f34f6a602bdba84bb5a867
tree0c10804bdafde2810d11201dc93af7f5d0ec58de
parenta0e85d0eb5a5c30d47d6bfb014f59b9fcd32dbe4
newvers.sh: add support for gitup(1)

gitup writes a .gituprevision file into the shallow clone directory. Read that
file and print commit information only.

Submitted by: Michael Osipov <michael.osipov@siemens.com>
Pull Request: https://github.com/freebsd/freebsd-src/pull/449

While here, drop the redundant branch name from the git output and don't
count commits in shallow clones.

Reported by: Michael Osipov <michael.osipov@siemens.com>
MFC after: 2 weeks
sys/conf/newvers.sh