From: Jakub Narebski <jnareb@gmail.com>
To: Josef Weidendorfer <Josef.Weidendorfer@gmx.de>
Cc: git@vger.kernel.org
Subject: Re: [RFC] Light-weight checkouts via ".gitlink"
Date: Sat, 9 Dec 2006 00:53:47 +0100 [thread overview]
Message-ID: <200612090053.48186.jnareb@gmail.com> (raw)
In-Reply-To: <200612090025.24234.Josef.Weidendorfer@gmx.de>
Josef Weidendorfer wrote:
> On Friday 08 December 2006 23:54, Josef Weidendorfer wrote:
>> Jakub Narebski wrote:
>>> NAME = name
>
> Forgot to mention in the proposal:
> If you recursively have light-weight checkouts inside each other,
> the real "name" (for .git/external/<name/ and for further submodule
> configuration e.g. in .git/modules of the base repository)
> should of course be the concatenation of the names in the .gitlink
> files while going up to the base repository.
Why concatenation? I thought the name would be ID of submodule,
and should be just somehow unique.
And if concatenation, pehaps some forbidden character inserted between
them? Like '/' for example ;-)
>>> Perhaps instead of adding arbitrary number of .. in front of
>>> relative path, we better use some magic, like ... for finding
>>> somewhere up?
>
> No need. Something like
>
>> /home/user/.../linux
>
> is crazy. Do you want to scan all of your home directory everytime
> this lookup is needed? So "..." really only makes sense in front of
> the relative path, but there, you also can leave it out.
No. I meant /home/user/.../linux to mean searching for
/home/user/linux
/home/linux
/linux
but I don't think it is useful. As to relative path matching in any
parent directory... well, that differs only in direction (up instead of
down) in matching filename in .gitignore when path does not contain /
(well, actually it is taken as fileglob).
--
Jakub Narebski
next prev parent reply other threads:[~2006-12-08 23:51 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-12-08 21:52 [RFC] Light-weight checkouts via ".gitlink" Josef Weidendorfer
2006-12-08 22:18 ` Jakub Narebski
2006-12-08 22:54 ` Josef Weidendorfer
2006-12-08 23:24 ` Jakub Narebski
2006-12-08 23:40 ` Josef Weidendorfer
2006-12-08 23:25 ` Josef Weidendorfer
2006-12-08 23:53 ` Jakub Narebski [this message]
2006-12-09 1:46 ` Josef Weidendorfer
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=200612090053.48186.jnareb@gmail.com \
--to=jnareb@gmail.com \
--cc=Josef.Weidendorfer@gmx.de \
--cc=git@vger.kernel.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 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.