git/list[1] front-page[2] threads[3] people[4] search[5] about
 

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

Previous: David Aguilar
Message 6 of 6 in “difftool, open all diff files immediately, not in serial”
  1. Seba IllingworthAug 4, 2009
  2. Thomas RastAug 4, 2009
  3. Seba IllingworthAug 4, 2009
  4. My solutionSeb, Apr 14, 2010
  5. David AguilarApr 14, 2010
  6. Seba IllingworthAug 20, 2009

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.