374
381
if working_tree is not None and working_tree not in (old_tree, new_tree):
375
382
extra_trees = (working_tree,)
376
return old_tree, new_tree, specific_files, extra_trees
383
return old_tree, new_tree, old_branch, new_branch, specific_files, extra_trees
378
385
def _get_tree_to_diff(spec, tree=None, branch=None, basis_is_default=True):
379
386
if branch is None and tree is not None: