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

Re: [PATCH 1/5] Library code for user-relative paths, take three.

From: Junio C Hamano <hidden>
Date: 2016-06-15 22:42:12

exon@op5.se (Andreas Ericsson) writes:
+	if(strict && *dir != '/')
(style everywhere)

	if (strict ...
+	/* This is perfectly safe, and people tend to think of the directory
+	 * where they ran git-init-db as their repository, so humour them. */
+	(void)chdir(".git");
It might be safe, but I think it changes the behaviour of
upload-pack with strict case.  My gut reaction is we would want
"if (!strict)" in front.  Thoughts?
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help