Re: [PATCH v2 11/13] Allow helpers to request the path to the .git directory
- From
Daniel Barkalow <barkalow@iabervon.org>
- Date
- Nov 4, 2009, 21:35 UTC
- Message-ID
- <alpine.LNX.2.00.0911041621400.14365@iabervon.org>
- In-Reply-To
- <1257364098-1685-12-git-send-email-srabbelier@gmail.com>
On Wed, 4 Nov 2009, Sverre Rabbelier wrote:
Show 7 quoted lines
> The 'gitdir' capability is reported by the remote helper if it > requires the location of the .git directory. The location of the .git > directory can then be used by the helper to store status files even > when the current directory is not a git repository (such as is the > case when cloning). > > The location of the .git dir is specified as an absolute path.
I thought we cd into the repository in the middle of clone somewhere, before running stuff. 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. 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.
-Daniel *This .sig left intentionally blank*