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

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

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.

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."

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

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

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Posted Friday in Off-topic

Friday Fun: Riddle me this

Happy Friday, Funmakers! We had a Community Team offsite in Austin this week, and my mind feels primed for thinkin' from all the brainstorming we did!  So, this week's Friday Fun thread w...

358 views 39 6
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you