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

Re: cvs diff -l equivalent?

From
MMMikael Magnusson <mikachu@gmail.com>
Date
Jul 30, 2008, 20:57 UTC
Message-ID
<237967ef0807301357l60dfb5b7y63a357c4b5c2c23@mail.gmail.com>
In-Reply-To
<20080730082030.GA12555@cuci.nl>
2008/7/30 Stephen R. van den Berg <srb@cuci.nl>:
Show 5 quoted lines
> Someone popped this question on me.  The closest I got was:
>
>   git diff .
>
> But that still recurses.  Any solutions without patching?

Another option than the ones suggested: git diff|filterdiff -x '*/*/*'

filterdiff is available from the "patchutils" package.
-- 
Mikael Magnusson
Previous: Stephen R. van den BergNext: Linus Torvalds
Message 7 of 8 in “cvs diff -l equivalent?”
  1. Stephen R. van den BergJul 30, 2008
  2. Johannes SchindelinJul 30, 2008
  3. Stephen R. van den BergJul 30, 2008
  4. Johannes SchindelinJul 30, 2008
  5. Thomas RastJul 30, 2008
  6. Stephen R. van den BergJul 30, 2008
  7. Mikael MagnussonJul 30, 2008
  8. Linus TorvaldsJul 30, 2008

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.