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

Re: Objects deleted before first commit

From
Carlos Martín Nieto <cmn@elego.de>
Date
Jun 14, 2011, 14:56 UTC
Message-ID
<20110614145628.GB30626@bee.lab.cmartin.tk>
In-Reply-To
<8269100C7056D24A91B672AF7E5E48492D963B@exchange.GottexBrokers.local>
On Tue, Jun 14, 2011 at 02:46:00PM +0000, Edmondo Porcu wrote:
Show 6 quoted lines
> Dear all,
> I have tried to copy my objects folder into my git root folder.
> 
> D:\vce\GottwareNet>git cat-file -p 00\1cd91a8a3a3c99ca7aea73c96b3d2174430947
> fatal: Not a valid object name 00\1cd91a8a3a3c99ca7aea73c96b3d2174430947
> 
git cat-file -p 001cd91a8a3a3c99ca7aea73c96b3d2174430947

You need to specify the object name. In .git/, they're in different folders for speed purposes, but that's an implementation detail.

Cheers,
   cmn
Previous: Edmondo PorcuNext: PJ Weisberg
Message 7 of 10 in “Objects deleted before first commit”
  1. Edmondo PorcuJun 14, 2011
  2. David BarrJun 14, 2011
  3. Edmondo PorcuJun 14, 2011
  4. David BarrJun 14, 2011
  5. PJ WeisbergJun 14, 2011
  6. Edmondo PorcuJun 14, 2011
  7. Carlos Martín NietoJun 14, 2011
  8. PJ WeisbergJun 14, 2011
  9. Edmondo PorcuJun 14, 2011
  10. Tomas CarneckyJun 16, 2011

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.