From: "H. Peter Anvin" <hpa@zytor.com>
To: Linus Torvalds <torvalds@osdl.org>
Cc: Git Mailing List <git@vger.kernel.org>
Subject: Re: git-daemon: path validation, export all option
Date: Tue, 27 Sep 2005 08:36:18 -0700 [thread overview]
Message-ID: <433966F2.3090304@zytor.com> (raw)
In-Reply-To: <Pine.LNX.4.58.0509270802140.3308@g5.osdl.org>
Linus Torvalds 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.
>
Agreed. I wasn't thinking too hard about it, and it doesn't do any harm
since failure is ignored.
-hpa
prev parent reply other threads:[~2005-09-27 15:36 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-09-27 2:13 git-daemon: path validation, export all option H. Peter Anvin
2005-09-27 4:19 ` Junio C Hamano
2005-09-27 8:30 ` Anton Altaparmakov
2005-09-27 16:14 ` H. Peter Anvin
2005-09-27 16:56 ` Junio C Hamano
2005-09-27 15:03 ` Linus Torvalds
2005-09-27 15:36 ` H. Peter Anvin [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=433966F2.3090304@zytor.com \
--to=hpa@zytor.com \
--cc=git@vger.kernel.org \
--cc=torvalds@osdl.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).