]> granicus.if.org Git - zfs/commit
Avoid updating zfs_gitrev.h when rev is unchanged
authorJorgen Lundman <lundman@lundman.net>
Fri, 7 Jun 2019 02:01:41 +0000 (11:01 +0900)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Fri, 7 Jun 2019 02:01:41 +0000 (19:01 -0700)
commit876d76be3455ba6aa8d1567203847d8c012d05c9
tree37a36e3daead67c5fa11bd85cf8d74b8b574f7b1
parentfd7a657bffccf24a11c60ea63e5dba7aed635961
Avoid updating zfs_gitrev.h when rev is unchanged

Build process would always re-compile spa_history.c due to touching
zfs_gitrev.h - avoid if no change in gitrev.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Reviewed-by: Chris Dunlop <chris@onthe.net.au>
Reviewed-by: Allan Jude <allanjude@freebsd.org>
Signed-off-by: Jorgen Lundman <lundman@lundman.net>
Closes #8860
scripts/make_gitrev.sh