Home | History | Annotate | Download | only in clang-format

Lines Matching full:old_tree

140   old_tree = create_tree_from_workdir(changed_lines)
145 print 'old tree:', old_tree
147 if old_tree == new_tree:
151 print_diff(old_tree, new_tree)
153 changed_files = apply_changes(old_tree, new_tree, force=opts.force,
412 def print_diff(old_tree, new_tree):
417 subprocess.check_call(['git', 'diff', old_tree, new_tree, '--'])
420 def apply_changes(old_tree, new_tree, force=False, patch_mode=False):
425 changed_files = run('git', 'diff-tree', '-r', '-z', '--name-only', old_tree,
442 with temporary_index_file(old_tree):
444 index_tree = old_tree