diff/Checking out by date specification

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux