Re: [PATCH v2 11/13] Allow helpers to request the path to the .git directory
- From
Sverre Rabbelier <srabbelier@gmail.com>
- Date
- Nov 4, 2009, 22:42 UTC
- Message-ID
- <fabb9a1e0911041442k493c5d7cx493c2e5dac9d892c@mail.gmail.com>
- In-Reply-To
- <alpine.LNX.2.00.0911041723010.14365@iabervon.org>
Heya,
On Wed, Nov 4, 2009 at 23:27, Daniel Barkalow <barkalow@iabervon.org> wrote:
Show 5 quoted lines
>> Yes, that would probably be a good idea, .git/info/remote-<vcs>/<alias> perhaps? > > Seems reasonable to me, unless we make it .git/info/remote-<vcs>, and tell > helper authors to deal with having different imports not conflict with > each other.
Ah, yeah, the helper might want to store some global state as well, so '.git/info/remote-<vcs>' is probably best.
Show 6 quoted lines
>> The marks option has been dumped in favor of 'feature import-marks=' >> and 'feature export-marks=' which will be in the reroll of >> sr/gfi-options. > > Right, but the values of those have to be paths, and I think they should > be relative paths, relative to the helper's state directory.
Hmmm, I don't remember exactly what we decided the paths should be releative, pretty sure it was somewhere in .git/ though.
-- Cheers, Sverre Rabbelier