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

Re: Dump differing files

From
Kevin Ballard <kevin@sb.org>
Date
Nov 12, 2010, 22:39 UTC
Message-ID
<151B15B7-F43E-40E6-B025-028B07C00C2C@sb.org>
In-Reply-To
<loom.20101112T183755-430@post.gmane.org>

A user-friendly version might be `git diff --stat $COMMIT1 $COMMIT2`. This will give you a diffstat showing what's different between the two commits.

If you really just want the changed files, you can use something like
     git diff-tree --name-only -r $COMMIT1 $COMMIT2
-Kevin Ballard
On Nov 12, 2010, at 9:44 AM, Maaartin wrote:
Show 9 quoted lines
> Some time ago, I saw a command allowing to dump all files which differ in the 
> given two commits (or something like that). It may have been an option to git 
> diff or whatever, but I can't find it anymore. I'm quite sure, somebody knows... 
> thanks.
> 
> --
> To unsubscribe from this list: send the line "unsubscribe git" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous: Maaartin
Message 2 of 2 in “Dump differing files”
  1. MaaartinNov 12, 2010
  2. Kevin BallardNov 12, 2010

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.