git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: wishlist; unify behavior while cloning non-bare repos over http to be in line with ssh/local

From
Yaroslav Halchenko <yoh@onerussian.com>
Date
May 10, 2016, 19:06 UTC
Message-ID
<20160510190652.GI7907@onerussian.com>
In-Reply-To
<20160506131855.GD7907@onerussian.com>
On Fri, 06 May 2016, Yaroslav Halchenko wrote:
> Dear Git Folks,
Show 12 quoted lines
> Originally this issue was mentioned in previous thread [1], and I have decided
> to bring it into a separate thread.  ATM there is a dichotomy in git behavior
> between cloning non-bare repos:  if I clone over ssh or just locally by
> providing url without trailing /.git, git senses for /.git and works just fine
> with ssh or local repositories, but fails for "dummy" http ones, the demo
> script is here [2] which produces output listed below.  From which you can see
> that  cloning using http URL to the repository without /.git fails (git version
> 2.8.1, Debian).  As it was noted in [1], concern could have been to not
> traverse website since could lead to dangerous places.  But .git is under
> originating url directory, as well as info/ or HEAD or any other object
> accessed by git, so IMHO this concern is not a concern.
> ...

If there is a better venue (bug tracker?) to spark the interest and discussion, please let me know ;)

-- 
Yaroslav O. Halchenko
Center for Open Neuroscience     http://centerforopenneuroscience.org
Dartmouth College, 419 Moore Hall, Hinman Box 6207, Hanover, NH 03755
Phone: +1 (603) 646-9834                       Fax: +1 (603) 646-1419
WWW:   http://www.linkedin.com/in/yarik        
Previous: Yaroslav HalchenkoNext: Junio C Hamano
Message 2 of 8 in “wishlist; unify behavior while cloning non-bare repos over http to be in line with ssh/local”
  1. Yaroslav HalchenkoMay 6, 2016
  2. Yaroslav HalchenkoMay 10, 2016
  3. Junio C HamanoMay 10, 2016
  4. Jacob KellerMay 10, 2016
  5. Yaroslav HalchenkoMay 10, 2016
  6. Junio C HamanoMay 10, 2016
  7. Yaroslav HalchenkoMay 11, 2016
  8. Junio C HamanoMay 11, 2016

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.