Lines Matching defs:old_tree
276 old_tree = commits[1]
277 revision = old_tree
279 old_tree = create_tree_from_index(changed_lines)
282 old_tree = create_tree_from_workdir(changed_lines)
288 print("old tree: %s" % old_tree)
291 if old_tree == new_tree:
297 return print_diff(old_tree, new_tree)
299 return print_diffstat(old_tree, new_tree)
302 old_tree, new_tree, force=opts.force, patch_mode=opts.patch
725 def print_diff(old_tree, new_tree):
735 ["git", "diff", "--diff-filter=M", "--exit-code", old_tree, new_tree]
739 def print_diffstat(old_tree, new_tree):
755 old_tree,
761 def apply_changes(old_tree, new_tree, force=False, patch_mode=False):
774 old_tree,
800 with temporary_index_file(old_tree):
802 index_tree = old_tree