From: Junio C Hamano <gitster@pobox.com>
To: Johan Herland <johan@herland.net>
Cc: git@vger.kernel.org, Mark Levedahl <mlevedahl@gmail.com>
Subject: Re: Relative submodule URLs vs. clone URL DWIMming
Date: Sat, 30 Aug 2008 16:45:16 -0700 [thread overview]
Message-ID: <7vabeuf4oj.fsf@gitster.siamese.dyndns.org> (raw)
In-Reply-To: <200808310123.48018.johan@herland.net> (Johan Herland's message of "Sun, 31 Aug 2008 01:23:47 +0200")
Johan Herland <johan@herland.net> writes:
> $ 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?
If you mean "the latter lacks 'url =' and is broken", and if that is what
happens, then it needs to be fixed. But otherwise, I do not personally
find these differences interesting.
But that does not mean I'd veto if somebody else cares deeply enough and
comes up with a clean solution.
next prev parent reply other threads:[~2008-08-30 23:46 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
2008-08-30 23:45 ` Junio C Hamano [this message]
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=7vabeuf4oj.fsf@gitster.siamese.dyndns.org \
--to=gitster@pobox.com \
--cc=git@vger.kernel.org \
--cc=johan@herland.net \
--cc=mlevedahl@gmail.com \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.