[Bug 229230] newvers falsely appends "-dirty" to hash when building in a git tree with no content changes

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Fri Nov 2 21:21:26 UTC 2018


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=229230

--- Comment #2 from commit-hook at freebsd.org ---
A commit references this bug:

Author: emaste
Date: Fri Nov  2 21:20:46 UTC 2018
New revision: 340083
URL: https://svnweb.freebsd.org/changeset/base/340083

Log:
  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

Changes:
  head/sys/conf/newvers.sh

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-bugs mailing list