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

Re: Error "fatal: not a git repository" after auto packing

From
Dennis Kaarsemaker <dennis@kaarsemaker.net>
Date
Aug 12, 2014, 16:11 UTC
Message-ID
<1407859882.17965.1.camel@spirit>
In-Reply-To
<CACZXET_qPzBtqJLXBbou+iZ_Muj=VqCBe5qMADN72VScsuHRVQ@mail.gmail.com>
On ma, 2014-08-11 at 18:56 -0400, Luke Campagnola wrote:
Show 5 quoted lines
> 
> raven:/home/luke/vispy (transform-cache)$ git checkout master
> Switched to branch 'master'
> Deleted 103 .pyc files
> Deleted 11 empty directories

This looks like you have a local post-checkout hook that deletes empty directories. Fix that hook to not do anything in .git and it should be fine.

-- 
Dennis Kaarsemaker
www.kaarsemaker.net
Previous: Duy NguyenNext: Luke Campagnola
Message 3 of 4 in “Error "fatal: not a git repository" after auto packing”
  1. Luke CampagnolaAug 11, 2014
  2. Duy NguyenAug 12, 2014
  3. Dennis KaarsemakerAug 12, 2014
  4. Luke CampagnolaAug 12, 2014

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.