login
Header Space

 
 

Re: git-daemon: path validation, export all option

Score:
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: H. Peter Anvin <hpa@...>
Cc: Git Mailing List <git@...>
Date: Tuesday, September 27, 2005 - 11:03 am

On Mon, 26 Sep 2005, H. Peter Anvin wrote:

Removing the "chdir(".git")" thing is very wrong, though. Why do it?

It's very much on purpose: you can export even "regular" git trees (ie 
trees you have checked out) without the other side having to say

	git clone machine.com:/home/torvalds/v2.6/linux/.git

where the final "/.git" is just stupid.

		Linus
-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
git-daemon: path validation, export all option, H. Peter Anvin, (Mon Sep 26, 10:13 pm)
Re: git-daemon: path validation, export all option, Linus Torvalds, (Tue Sep 27, 11:03 am)
Re: git-daemon: path validation, export all option, H. Peter Anvin, (Tue Sep 27, 11:36 am)
Re: git-daemon: path validation, export all option, Junio C Hamano, (Tue Sep 27, 12:19 am)
Re: git-daemon: path validation, export all option, H. Peter Anvin, (Tue Sep 27, 12:14 pm)
Re: git-daemon: path validation, export all option, Junio C Hamano, (Tue Sep 27, 12:56 pm)
Re: git-daemon: path validation, export all option, Anton Altaparmakov, (Tue Sep 27, 4:30 am)
speck-geostationary