(self, git_hash, **kwargs)
| 143 | return True |
| 144 | |
| 145 | def GitChangedFiles(self, git_hash, **kwargs): |
| 146 | assert git_hash |
| 147 | try: |
| 148 | files = self.Git(MakeArgs(["diff --name-only", |
| 149 | git_hash, |
| 150 | "%s^" % git_hash]), **kwargs) |
| 151 | return map(str.strip, files.splitlines()) |
| 152 | except GitFailedException: # pragma: no cover |
| 153 | # Git fails using "^" at branch roots. |
| 154 | return [] |
| 155 | |
| 156 | |
| 157 | @Strip |
nothing calls this directly
no test coverage detected