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

Lines Matching refs:old_tree

144   old_tree = create_tree_from_workdir(changed_lines)
149 print 'old tree:', old_tree
151 if old_tree == new_tree:
155 print_diff(old_tree, new_tree)
157 changed_files = apply_changes(old_tree, new_tree, force=opts.force,
416 def print_diff(old_tree, new_tree):
421 subprocess.check_call(['git', 'diff', old_tree, new_tree, '--'])
424 def apply_changes(old_tree, new_tree, force=False, patch_mode=False):
429 changed_files = run('git', 'diff-tree', '-r', '-z', '--name-only', old_tree,
446 with temporary_index_file(old_tree):
448 index_tree = old_tree