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

Re: Not a git repository: '.'

From
greened@obbligato.org <greened@obbligato.org>
Date
Mar 25, 2012, 21:59 UTC
Message-ID
<877gy8e3z8.fsf@smith.obbligato.org>
In-Reply-To
<4F6E0F07.6030400@kdbg.org>
Johannes Sixt <j6t@kdbg.org> writes:
> Most likely, GIT_DIR=. is set when the hook is entered. Does unset
> GIT_DIR help?
That was indeed the problem.  Thank you!
                        -Dave
Previous: Johannes Sixt
Message 3 of 3 in “Not a git repository: '.'”
  1. greened@obbligato.orgMar 24, 2012
  2. Johannes SixtMar 24, 2012
  3. greened@obbligato.orgMar 25, 2012

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.