Changeset 175991 in webkit
- Timestamp:
- Nov 11, 2014, 4:46:41 PM (12 years ago)
- Location:
- trunk/Tools
- Files:
-
- 2 edited
-
ChangeLog (modified) (1 diff)
-
Scripts/webkitpy/common/checkout/scm/git.py (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Tools/ChangeLog
r175982 r175991 1 2014-11-11 David Kilzer <ddkilzer@apple.com> 2 3 webkit-patch --suggest-reviewers is broken with newer versions of git 4 <http://webkit.org/b/138627> 5 6 Reviewed by Michael Saboff with feedback from Daniel Bates. 7 8 * Scripts/webkitpy/common/checkout/scm/git.py: 9 (Git._changes_files_for_commit): Strip blank lines instead of 10 assuming there is always a blank line at the beginning of the 11 list. 12 1 13 2014-11-11 Alexey Proskuryakov <ap@apple.com> 2 14 -
trunk/Tools/Scripts/webkitpy/common/checkout/scm/git.py
r175717 r175991 224 224 225 225 def _changes_files_for_commit(self, git_commit): 226 # --pretty="format:" makes git show not print the commit log header ,227 changed_files = self._run_git(["show", "--pretty=format:", "--name-only", git_commit]) .splitlines()228 # instead it just prints a blank line at the top, so we skip the blank line:229 return changed_files [1:]226 # --pretty="format:" makes git show not print the commit log header. 227 changed_files = self._run_git(["show", "--pretty=format:", "--name-only", git_commit]) 228 # Strip blank lines which could appear at the top on older versions of git. 229 return changed_files.lstrip().splitlines() 230 230 231 231 def changed_files_for_revision(self, revision):
Note:
See TracChangeset
for help on using the changeset viewer.