Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Does sourcetree support doing an external diff at the folder level (git difftool --dir-diff)

David Rees January 29, 2013

Is there way to get sourcetree to launch a folder-level external diff between commits? Essentially a "git difftool --dir-diff"?

Thanks,

dave

2 answers

1 vote
Jose Alberto Briseno Limon September 16, 2016

Are there any updates about this topic? Isn't it still possible to do this using Source Tree?

0 votes
stevestreeting
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
January 30, 2013

You can multi-select files or use the tree view in the File Status tab and use external diff on that, it will essentially open for all files.

David Rees January 31, 2013

Instead of having of unassociated file pairs pushed one at a time to a file diff tool, I'm looking for two folder trees being created and pushed to a folder-level diff tool. So I can see both the hierarchy and also do more top-down diffing. That is what the new dir-diff does (info below).

For SourceTree I am looking for the ability to select two commits and run git difftool ---dir-diff on their SHAs. And of course be able to run it with --cached as well.

Since the diff tab only supports file arguments I can't update it there. But now that I think about it, perhaps I can get it working using Custom Actions. I just noticed in that pane that $SHA actually is for commit(s). Hmmm.

http://git-scm.com/docs/git-difftool.html

http://article.gmane.org/gmane.linux.kernel/1307164
"git difftool learned the "--dir-diff" option to spawn external diff tools that can compare two directory hierarchies at a time after populating two temporary directories, instead of running an instance of the external tool once per a file pair."

nkavian October 27, 2014

I would also love to see this happen. Now that Beyond Compare 4 is available on the Mac, it looks silly when it's not able to compare at the folder level. http://www.scootersoftware.com/images/FolderCompare.png http://www.scootersoftware.com/images/TextCompare.png

Like jkent-paylease likes this

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events