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

git diff across submodules

From
KSKenny Simpson <theonetruekenny@yahoo.com>
Date
Sep 18, 2012, 03:12 UTC
Message-ID
<1347937959.96154.YahooMailClassic@web39403.mail.mud.yahoo.com>
Hello,
  Is there any nice way to get a diff and/or diffstat of both a project and its submodules between two revisions of the main project?
Something like 'git diff --stat tag_a tag_b' but also including the diffstat on the submodule from the revision tied to in tag_a to the revision tied to tag_b.  A few shell backflips will do it, but this seems like I'm missing something.

thanks, -Kenny

Next: Jens Lehmann
Message 1 of 6 in “git diff across submodules”
  1. Kenny SimpsonSep 18, 2012
  2. Jens LehmannSep 18, 2012
  3. Junio C HamanoSep 18, 2012
  4. Junio C HamanoSep 19, 2012
  5. Jens LehmannSep 20, 2012
  6. Junio C HamanoSep 20, 2012

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.