On Feb 17, 2008 11:25 PM, Johannes Schindelin
[off-list ref] wrote:
On Sun, 17 Feb 2008, Lars Hjemli wrote:
quoted
@@ -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()?
Yes, I'll resend. Thanks.
--
larsh