From: Toby Corkindale <toby.corkindale@rea-group.com>
To: git@vger.kernel.org
Subject: diff/Checking out by date specification
Date: Mon, 30 Jun 2008 12:24:03 +1000 [thread overview]
Message-ID: <486843C3.30402@rea-group.com> (raw)
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.
next reply other threads:[~2008-06-30 2:41 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-06-30 2:24 Toby Corkindale [this message]
2008-06-30 3:27 ` diff/Checking out by date specification 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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=486843C3.30402@rea-group.com \
--to=toby.corkindale@rea-group.com \
--cc=git@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.