Allen Wittenauer created YETUS-546:
--------------------------------------

             Summary: precommit fails with self-modifying code
                 Key: YETUS-546
                 URL: https://issues.apache.org/jira/browse/YETUS-546
             Project: Yetus
          Issue Type: Bug
          Components: Test Patch
    Affects Versions: 0.5.0
            Reporter: Allen Wittenauer
            Assignee: Allen Wittenauer
             Fix For: 0.6.0


If, during the process of the build, the source tree modifies files that are 
normally stored in git, Yetus will pick these changes up as being part of the 
diff.  If Yetus isn't running in dirty workspace mode, the state should 
probably be reset to some known git state rather than depending upon the build 
tool's clean facility.

An example of this in action is patch #5 of HADOOP-14667 .  This patch enables 
for the equivalent of Makefiles to get rewritten to be compatible with the 
currently installed OS prior to building.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to