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

Re: How to (re-)create .git/logs/refs

From
HSHolger Schurig <hs4233@mail.mn-solutions.de>
Date
May 8, 2008, 12:28 UTC
Message-ID
<200805081428.35732.hs4233@mail.mn-solutions.de>
In-Reply-To
<200805081256.11465.hs4233@mail.mn-solutions.de>
>   warning: Log for '' only goes back to Thu, 8 May 2008
> 09:35:38 +0000. fatal: bad object @{2007-04-01}

Oops, this was from another test that I made today. My original git repository shows of course a different date:

  warning: Log for '' only goes back to Wed, 23 Apr 2008 08:36:26 +0200.
  fatal: bad object @{2007-05-01}

Also, "git log @{2007-05-01}" | cat gives me this error message, "git checkout @{2007-05-01}" gives

  error: pathspec '@{2007-05-01}' did not match any file(s) known to git.
  Did you forget to 'git add'?
which is completely misleading.
Sorry for being unclear in my first mail.
Previous: Holger SchurigNext: Nicolas Pitre
Message 2 of 10 in “How to (re-)create .git/logs/refs”
  1. Holger SchurigMay 8, 2008
  2. Holger SchurigMay 8, 2008
  3. Nicolas PitreMay 8, 2008
  4. Holger SchurigMay 13, 2008
  5. Holger SchurigMay 13, 2008
  6. Andreas EricssonMay 13, 2008
  7. Johannes SchindelinMay 13, 2008
  8. Holger SchurigMay 13, 2008
  9. Jakub NarebskiMay 13, 2008
  10. Holger SchurigMay 13, 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.