Chromium Code Reviews
DescriptionDon't track SCM changes in rebaseline commands.
There's a fair amount of logic in the rebaseline-related command
which is all for the purpose of tracking which files to add and remove
to the source control management system.
However, since we're now only using git, one possible simpler route
is to just call `git add --all`.
Pros:
- Much simpler, fewer chances for bugs in SCM change tracking logic.
Cons:
- This would make rebaseline commands stage all new files from the user
in the working tree even if they didn't intend to stage these files.
One possible way to compensate for this would be to *not* call
`git add --all` after all rebaselining, but instead call this seperately
when (1) doing a w3c test auto-update or (2) doing a auto-rebaseline
on rebaseline-o-matic.
This is an alternative to http://crrev.com/2396433004.
BUG=639410
Committed: https://crrev.com/ccd977fa5650bf395c59bbbb0afc81f5dbd3531c
Cr-Commit-Position: refs/heads/master@{#424082}
Patch Set 1 #Patch Set 2 : Update baselineoptimizer_unittest.py. #Patch Set 3 : Rebased #
Total comments: 3
Patch Set 4 : - #Patch Set 5 : Update message and docstring for has_working_directory_changes #Messages
Total messages: 29 (19 generated)
|