diff options
author | Ed Maste <emaste@FreeBSD.org> | 2018-11-02 21:20:46 +0000 |
---|---|---|
committer | Ed Maste <emaste@FreeBSD.org> | 2018-11-02 21:20:46 +0000 |
commit | 50b53a8dc35f38ab6920dd83409541e875d01551 (patch) | |
tree | e307be189c650bd40e4400a8ede5baef79cc7a07 /sbin/devd | |
parent | 97a7bf30707a9b0075034d5bae89acc6cfad92a6 (diff) | |
download | src-50b53a8dc35f38ab6920dd83409541e875d01551.tar.gz src-50b53a8dc35f38ab6920dd83409541e875d01551.zip |
newvers.sh: fix git false positive -dirty tag
Assuming that any output from `git diff-index --name-only` implies
changes in the working tree results in false positives: files with
metadata, but not content, changes are also listed.
Check that content differences exist before adding the -dirty tag to
the git hash.
PR: 229230
Reviewed by: markj
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D15968
Notes
Notes:
svn path=/head/; revision=340083
Diffstat (limited to 'sbin/devd')
0 files changed, 0 insertions, 0 deletions