Thread (17 messages) flat view 17 messages, 3 authors, 2016-06-15

Re: [PATCH 1/5] Add platform-independent .git "symlink"

From: Lars Hjemli <hidden>
Date: 2016-06-15 22:44:14

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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help