Lines Matching refs:old_tree
155 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,
494 with temporary_index_file(old_tree):
496 index_tree = old_tree