Re: [PATCH 1/5] Add platform-independent .git "symlink"
- From
Johannes Schindelin <johannes.schindelin@gmx.de>
- Date
- Feb 17, 2008, 22:25 UTC
- Message-ID
- <alpine.LSU.1.00.0802172224550.30505@racer.site>
- In-Reply-To
- <1203286456-26033-2-git-send-email-hjemli@gmail.com>
Hi,
On Sun, 17 Feb 2008, Lars Hjemli wrote:
Show 8 quoted lines
> @@ -302,6 +305,12 @@ const char *setup_git_directory_gently(int *nongit_ok)
> */
> offset = len = strlen(cwd);
> for (;;) {
> + gitfile_dir = read_gitfile_gently(DEFAULT_GIT_DIR_ENVIRONMENT);
> + if (gitfile_dir && is_git_directory(gitfile_dir)) {
> + if (set_git_dir(gitfile_dir))
> + return NULL;Should this not complain loudly? Really loudly, as in die()?
Ciao, Dscho