Home
last modified time | relevance | path

Searched refs:old_tree (Results 1 – 1 of 1) sorted by relevance

/external/clang/tools/clang-format/
Dgit-clang-format155 old_tree = commits[1]
161 old_tree = create_tree_from_workdir(changed_lines)
166 print 'old tree:', old_tree
168 if old_tree == new_tree:
172 print_diff(old_tree, new_tree)
174 changed_files = apply_changes(old_tree, new_tree, force=opts.force,
458 def print_diff(old_tree, new_tree): argument
467 subprocess.check_call(['git', 'diff', '--diff-filter=M', old_tree, new_tree,
471 def apply_changes(old_tree, new_tree, force=False, patch_mode=False): argument
477 '--name-only', old_tree,
[all …]