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:06 UTC
- Message-ID
- <fabb9a1e0911041406tce0956ai2ad3fe6cfbdc546d@mail.gmail.com>
- In-Reply-To
- <alpine.LNX.2.00.0911041621400.14365@iabervon.org>
Heya,
On Wed, Nov 4, 2009 at 22:35, Daniel Barkalow <barkalow@iabervon.org> wrote:
> I thought we cd into the repository in the middle of clone somewhere, > before running stuff.
It does, but not soon enough, that is, not before I needed it in my helper.
> In any case, I think it would be good to have > something like that, but I think maybe we should tell it where it can put > its status files, rather than telling it where the .git dir is.
Yes, that would probably be a good idea, .git/info/remote-<vcs>/<alias> perhaps?
> It would > also be nice if this is the absolute path that gfi will base a relative > path for the "marks" options on when importing.
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.
-- Cheers, Sverre Rabbelier