Merge "clarify requirements diff portion of list-changes output"
This commit is contained in:
commit
4b2a1c65e5
@ -79,14 +79,16 @@ def git_diff(workdir, repo, git_range, file_pattern):
|
||||
file_pattern)))
|
||||
if files:
|
||||
header('Requirements Changes %s' % git_range)
|
||||
cmd = [
|
||||
'git', 'diff', '-U0', '--no-color',
|
||||
'--ignore-space-change', '--ignore-blank-lines',
|
||||
git_range,
|
||||
]
|
||||
cmd.extend(f[len(repo_dir) + 1:] for f in files)
|
||||
subprocess.check_call(cmd, cwd=repo_dir)
|
||||
print()
|
||||
for f in files:
|
||||
cmd = [
|
||||
'git', 'diff', '-U0', '--no-color',
|
||||
'--ignore-space-change', '--ignore-blank-lines',
|
||||
git_range,
|
||||
f[len(repo_dir) + 1:],
|
||||
]
|
||||
print(' '.join(cmd) + '\n')
|
||||
subprocess.check_call(cmd, cwd=repo_dir)
|
||||
print()
|
||||
|
||||
|
||||
def main():
|
||||
|
Loading…
Reference in New Issue
Block a user