mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-12-03 14:48:57 +00:00
da4f331b41
In some build methods, the gitrev is unnecessarily set to "unknown". We can improve this by changing the gitrev to use `git describe --always --long --dirty`. This gets the revision even when no tag matches (--always). It prints the hash even when it exactly matches a tag (--long). And if there are uncommitted changes, it appends "-dirty", rather than failing (--dirty). Reviewed-by: George Melikov <mail@gmelikov.ru> Reviewed by: Pavel Zakharov <pavel.zakharov@delphix.com> Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Reviewed-by: Matthew Thode <prometheanfire@gentoo.org> Signed-off-by: Matthew Ahrens <mahrens@delphix.com> Closes #8034 |
||
---|---|---|
.. | ||
zfs-images@3331601f6d | ||
.gitignore | ||
commitcheck.sh | ||
common.sh.in | ||
cstyle.pl | ||
dkms.mkconf | ||
dkms.postbuild | ||
enum-extract.pl | ||
kmodtool | ||
make_gitrev.sh | ||
Makefile.am | ||
paxcheck.sh | ||
zfs2zol-patch.sed | ||
zfs-helpers.sh | ||
zfs-tests.sh | ||
zfs.sh | ||
zimport.sh | ||
zloop.sh | ||
zol2zfs-patch.sed |