Is it possible to have meld open all files at once when used with "git difftool"?

Meld is capable of loading many files at once (in tabs).

However when used with git difftool, Git will ask if you want to view each file (which can be slow and annoying to have to keep opening and closing meld).

Is there a way to load meld with every file in a tab?

(I realize why this default was chosen, diffs bay be very big, however I would find the ability to do this very handy).


I'm not currently able to comment on meld as don't have it installed but for kdiff3(*), the git difftool --dir-diff command works nicely, e.g. to compare any two remote branches:

git difftool --dir-diff origin/branch1..origin/branch2

For kdiff3, this lists all the files that have changed in one pane and the differences for a selected file are shown in another pane - would imagine meld would do something similar. It can take a while before the diff comes up if there are a lot of changes.

(*) Side note - setting up kdiff: Under Windows, can install kdiff3 from here. Git can then be configured to use kdiff3 by editing C:\Users\<your username>\.gitconfig and setting the following (assuming the path to kdiff3 below is correct and replacing existing sections if present):-

[diff]
    tool = kdiff3

[difftool]
    prompt = false

[difftool "kdiff3"]
    cmd = "\"C:/Program Files/KDiff3/kdiff3.exe\" \"$LOCAL\" \"$REMOTE\""

Something similar can be achieved with git-diffall (it's not a built-in, you have to follow that link and install it). Its syntax is just like with git diff, but it opens the difftool in directory comparison mode, showing all modified files on one screen. You can double-click them to open comparisons in tabs.

Screenshot of Meld with diffall directory comparison open