git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Dump differing files
@ 2010-11-12 17:44 Maaartin
  2010-11-12 22:39 ` Kevin Ballard
  0 siblings, 1 reply; 2+ messages in thread
From: Maaartin @ 2010-11-12 17:44 UTC (permalink / raw)
  To: git

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.

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Dump differing files
  2010-11-12 17:44 Dump differing files Maaartin
@ 2010-11-12 22:39 ` Kevin Ballard
  0 siblings, 0 replies; 2+ messages in thread
From: Kevin Ballard @ 2010-11-12 22:39 UTC (permalink / raw)
  To: Maaartin; +Cc: git

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:

> 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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-11-12 22:39 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-11-12 17:44 Dump differing files Maaartin
2010-11-12 22:39 ` Kevin Ballard

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).