git/list[1] front-page[2] threads[3] people[4] search[5] about
 

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
Previous: Jeff King
Message 6 of 6 in “diff/Checking out by date specification”
  1. Toby CorkindaleJun 30, 2008
  2. Jeff KingJun 30, 2008
  3. Toby CorkindaleJun 30, 2008
  4. Daniel BarkalowJun 30, 2008
  5. Jeff KingJun 30, 2008
  6. Jeff KingJun 30, 2008

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.