Is it possible to get the git difftool command to open a directory compare between the changed files and the staging/checked files?
So ideally, if 2 files have changed, they would be the only 2 shown, but within a directory compare.
I’ve read posts about getting git to give all file diffs in parallel, so tools like BeyondCompare has all the diffs in tabs, but im not happy with that!
One could pull a copy of the changed files from staging/checked in files into a temp folder, and then open that up. Is that the only option?
Update June 2012 (2 and an half years later):
This (comparing directories instead of file-by-file) seems to be soon available:
See [ANNOUNCE] Git 1.7.11.rc1:
See "Patch
difftool: teachdifftoolto handle directory diffs"Original answer (January 2010)
Basically yes:
You difftool script would:
You have one first example in this question.