git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* how to diff versions of a file
@ 2009-02-03  5:00 Matt Graham
  2009-02-03  6:08 ` david
  2009-02-03  7:34 ` Jeff King
  0 siblings, 2 replies; 5+ messages in thread
From: Matt Graham @ 2009-02-03  5:00 UTC (permalink / raw)
  To: git

Hi,
I'm curious if there's a way to diff between 2 arbitrary versions of a file.

For example, how can I see the diff between tree.c on HEAD and from 3
edits (of tree.c) ago?

I can do git log and then manually use commit names to do the diff,
but I'm hoping there's a single command that will let me do that.

Thanks,
Matt

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

end of thread, other threads:[~2009-02-03 13:50 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-02-03  5:00 how to diff versions of a file Matt Graham
2009-02-03  6:08 ` david
2009-02-03  6:34   ` Junio C Hamano
2009-02-03 13:48     ` Matt Graham
2009-02-03  7:34 ` Jeff King

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