Home
last modified time | relevance | path

Searched refs:old_tree (Results 1 – 4 of 4) 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 …]
/external/bcc/scripts/
Dgit-clang-format144 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): argument
421 subprocess.check_call(['git', 'diff', old_tree, new_tree, '--'])
424 def apply_changes(old_tree, new_tree, force=False, patch_mode=False): argument
429 changed_files = run('git', 'diff-tree', '-r', '-z', '--name-only', old_tree,
446 with temporary_index_file(old_tree):
[all …]
/external/llvm-project/clang/tools/clang-format/
Dgit-clang-format158 old_tree = commits[1]
164 old_tree = create_tree_from_workdir(changed_lines)
169 print('old tree: %s' % old_tree)
171 if old_tree == new_tree:
175 print_diff(old_tree, new_tree)
177 changed_files = apply_changes(old_tree, new_tree, force=opts.force,
486 def print_diff(old_tree, new_tree): argument
495 subprocess.check_call(['git', 'diff', '--diff-filter=M', old_tree, new_tree,
499 def apply_changes(old_tree, new_tree, force=False, patch_mode=False): argument
505 '--name-only', old_tree,
[all …]
/external/libchrome/libchrome_tools/uprev/
Ddirty_uprev.py54 old_tree = utils.git_mktree(old_files)
56 newroot = utils.git_commit(old_tree, [])