From: Johan Herland <johan@herland•net>
To: git@vger•kernel.org
Cc: Junio C Hamano <gitster@pobox•com>, Mark Levedahl <mlevedahl@gmail•com>
Subject: Re: Relative submodule URLs vs. clone URL DWIMming
Date: Sun, 31 Aug 2008 01:23:47 +0200 [thread overview]
Message-ID: <200808310123.48018.johan@herland.net> (raw)
In-Reply-To: <7vhc92f8ay.fsf@gitster.siamese.dyndns.org>
On Sunday 31 August 2008, Junio C Hamano wrote:
> Johan Herland <johan@herland•net> writes:
> I personally feel that cases that involve cloning from non-bare
> repositories (and in addition, DWIMmed repositories), with or without
> nested submodules, are not worth supporting.
Ok. I guess that's fair. Such a decision should definitely be documented
appropriately in the submodule documentation, though.
I guess this also means you don't plan to do anything about the difference
in origin URLs produced by "git clone" for the following two cases:
$ git clone /repo/foo bar
$ grep -B1 url bar/.git/config
[remote "origin"]
url = /repo/foo/.git
vs.
$ git clone file:///repo/foo bar
$ grep -B1 url bar/.git/config
[remote "origin"]
file:///home/johan/git/foo
Hmm?
...Johan
--
Johan Herland, <johan@herland•net>
www.herland.net
next prev parent reply other threads:[~2008-08-30 23:30 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-08-27 12:00 Relative submodule URLs vs. clone URL DWIMming Johan Herland
2008-08-28 14:50 ` Mark Levedahl
2008-08-28 23:01 ` Johan Herland
2008-08-30 22:27 ` Junio C Hamano
2008-08-30 23:23 ` Johan Herland [this message]
2008-08-30 23:45 ` Junio C Hamano
2008-09-01 19:07 ` [PATCH] Bring local clone's origin URL in line with that of a remote clone Johan Herland
2008-09-02 7:23 ` Junio C Hamano
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=200808310123.48018.johan@herland.net \
--to=johan@herland$(echo .)net \
--cc=git@vger$(echo .)kernel.org \
--cc=gitster@pobox$(echo .)com \
--cc=mlevedahl@gmail$(echo .)com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
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