Re: difftool, open all diff files immediately, not in serial
- From
Seba Illingworth <seba.illingworth@gmail.com>
- Date
- Aug 20, 2009, 01:39 UTC
- Message-ID
- <loom.20090820T033212-722@post.gmane.org>
- In-Reply-To
- <200908042347.48705.trast@student.ethz.ch>
Thomas Rast <trast <at> student.ethz.ch> writes:
> I posted the script below on IRC the other week[1] in reply to someone > looking for a way to do this for 'meld'. I'm not sure this is the > *fastest* way to do this, but I'm at least trying to take a few > shortcuts...
I've come up with a simple script that diffs the files in a background task:
for name in $(git diff --name-only $1); do git difftool $1 $name & done
Then aliased the script for usage:
git diffall [--staged]
Being a bash newbie, I'd appreciate any feedback on what seems to be a simple solution...??