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