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

checking out by date

From
David Bryson <david@statichacks.org>
Date
Jan 12, 2009, 19:30 UTC
Message-ID
<20090112193039.GO25823@eratosthenes.cryptobackpack.org>
Hi All,

I have a very large repository that imported into git from CVS with about 5 years worth of history.

Today I decided to checkout some code from the past:

$ git checkout master@{"Mon Dec 31 2007"} warning: Log for 'master' only goes back to Tue, 2 Dec 2008 16:57:15 -0800.

Then proceeds to checkout a code snapshot from 2 Dec. To work around this I checked out a specific commit id, by looking at the log:

commit 3771ec1d6ccf329da378b7633fdef60474eac4b7
Author: XXXXXXXXXXXXXXX
Date:   Mon Dec 31 23:25:17 2007 +0000
    BugId: none
    correct wrong commit

$ git checkout 3771ec1d6ccf329da378b7633fdef60474eac4b7 ... HEAD is now at 3771ec1... BugId: none correct wrong commit

So what has caused git to be unable to process the date information, even though the information is clearly in the history ? Did I miss something ?

Dave
Next: Boyd Stephen Smith Jr.
Message 1 of 3 in “checking out by date”
  1. David BrysonJan 12, 2009
  2. Boyd Stephen Smith Jr.Jan 12, 2009
  3. Robin RosenbergJan 12, 2009

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.