Re: diff/Checking out by date specification
- From
Jeff King <peff@peff.net>
- Date
- Jun 30, 2008, 05:26 UTC
- Message-ID
- <20080630052612.GA22699@sigill.intra.peff.net>
- In-Reply-To
- <20080630052105.GA21954@sigill.intra.peff.net>
On Mon, Jun 30, 2008 at 01:21:05AM -0400, Jeff King wrote:
> Depending on what you want to do, that may be enough. But more likely, > you are interested in the actual shape of history, so looking at the > individual commits with something like "gitk --since=2008-01-01 > --until=2008-01-08" is probably going to be more instructive.
Side note: what you may have _really_ wanted was "what is the difference between what was in Junio's 'master' branch on those dates". I.e., looking at the sequence of states at the tip of some "official" git repo.
In that case, you could get the answer you want by looking in Junio's reflog. However, that information is not generally available through git. There is no support for downloading reflogs, and most people don't have reflogs enabled on their published bare repos. If Junio enabled reflogs on pushing to his bare repo, then you could manually download them into your .git/logs/ hierarchy and pretend that that was your history of your refs.
-Peff