mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2025-10-24 08:55:00 +03:00
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 | ||