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

Re: [PATCH] Take it easy on unallowed access to non-existent repository

From
Sverre Rabbelier <srabbelier@gmail.com>
Date
Apr 11, 2010, 15:45 UTC
Message-ID
<l2ifabb9a1e1004110845l7cc89b70y9878dad9e1537e8d@mail.gmail.com>
In-Reply-To
<1270983682-12215-1-git-send-email-pclouds@gmail.com>
Heya,
2010/4/11 Nguyễn Thái Ngọc Duy <pclouds@gmail.com>:
>        if (startup_info && !startup_info->have_run_setup_gitdir)
> -               die("internal error: access to .git/config without repo setup");
> +               warning("Broken repository setup: early access to $GIT_DIR/config");

This makes it sound like whatever is the problem is caused by the repository that is being operated on, rather than git's code, is that correct?

-- 
Cheers,

Sverre Rabbelier
Previous: Nguyễn Thái Ngọc DuyNext: Nguyen Thai Ngoc Duy
Message 11 of 18 in “What's cooking in git.git (Apr 2010, #03; Wed, 07)”
  1. Junio C HamanoApr 8, 2010
  2. Johannes SixtApr 8, 2010
  3. Junio C HamanoApr 8, 2010
  4. Fredrik KuivinenApr 8, 2010
  5. Tor ArntsenApr 8, 2010
  6. Tor ArntsenApr 8, 2010
  7. Jeff KingApr 8, 2010
  8. nd/setupJonathan Nieder, Apr 8, 2010
  9. Jeff KingApr 9, 2010
  10. Take it easy on unallowed access to non-existent repositoryNguyễn Thái Ngọc Duy, Apr 11, 2010
  11. Sverre RabbelierApr 11, 2010
  12. Nguyen Thai Ngoc DuyApr 11, 2010
  13. Sverre RabbelierApr 11, 2010
  14. Nguyen Thai Ngoc DuyApr 11, 2010
  15. Nguyen Thai Ngoc DuyApr 9, 2010
  16. Jonathan NiederApr 9, 2010
  17. Nguyen Thai Ngoc DuyApr 9, 2010
  18. Nguyen Thai Ngoc DuyApr 11, 2010

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.