Lines Matching refs:diff
92 p.add_argument('--diff', action='store_true',
93 help='print a diff instead of applying the changes')
114 help='revision from which to compute the diff')
140 # The computed diff outputs absolute paths, so we must cd before accessing
153 elif opts.diff:
257 """Return a subprocess object producing the diff from `commit`.
262 cmd = ['git', 'diff-index', '-p', '-U0', commit, '--']
416 """Print the diff between the two trees to stdout."""
417 # We use the porcelain 'diff' and not plumbing 'diff-tree' because the output
420 subprocess.check_call(['git', 'diff', old_tree, new_tree, '--'])
428 changed_files = run('git', 'diff-tree', '-r', '-z', '--name-only', old_tree,
431 unstaged_files = run('git', 'diff-files', '--name-status', *changed_files)