git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* diff/Checking out by date specification
@ 2008-06-30  2:24 Toby Corkindale
  2008-06-30  3:27 ` Jeff King
  0 siblings, 1 reply; 6+ messages in thread
From: Toby Corkindale @ 2008-06-30  2:24 UTC (permalink / raw)
  To: git

Hi,
`man git-rev-parse` seems to indicate that one can look at the state of 
the repository by date (absolute or relative), and use this for diff or 
checkout, etc.
It includes examples such as "{yesterday}" and "{1979-02-26 18:30:00}".

I'm struggling to get this to work in real life with cloned 
repositories, as I receive an error that the log only goes back  to 
whenever I cloned the repository.

Is there a way to make this operate upon the remote log?

Eg:

$ git clone git://git.kernel.org/pub/scm/git/git.git
$ cd git
$ git diff "@{yesterday}"
warning: Log for '' only goes back to Mon, 30 Jun 2008 12:22:52 +1000.
fatal: bad object @{yesterday}


Cheers,
Toby

-- 
Toby Corkindale
Software developer
w: www.rea-group.com
REA Group refers to realestate.com.au Ltd (ASX:REA)

Warning - This e-mail transmission may contain confidential information.
If you have received this transmission in error, please notify us
immediately on (61 3) 9897 1121 or by reply email to the sender. You
must destroy the e-mail immediately and not use, copy, distribute or
disclose the contents.

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

end of thread, other threads:[~2008-06-30  5:27 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-06-30  2:24 diff/Checking out by date specification Toby Corkindale
2008-06-30  3:27 ` Jeff King
2008-06-30  4:38   ` Toby Corkindale
2008-06-30  5:09     ` Daniel Barkalow
2008-06-30  5:21     ` Jeff King
2008-06-30  5:26       ` 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).