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

Re: [PATCH] allow alias expansion without a git directory

From: Johannes Schindelin <hidden>
Date: 2016-06-15 22:42:35

Hi,

On Sun, 30 Jul 2006, Matthias Lederhofer wrote:
quoted hunk ↗ jump to hunk
diff --git a/setup.c b/setup.c
index 4612f11..358e139 100644
--- a/setup.c
+++ b/setup.c
@@ -184,6 +184,10 @@ const char *setup_git_directory_gently(i
 		}
 		return NULL;
 	bad_dir_environ:
+		if (!nongit_ok) {
+			*nongit_ok = 1;
+			return NULL;
+		}
Funny. Yesterday, I looked through "git diff next", and decided to sync 
this part, i.e. undo the change you just proposed...

Ciao,
Dscho
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help