Re: [PATCH v2 11/13] Allow helpers to request the path to the .git directory
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Nov 5, 2009, 00:04 UTC
- Message-ID
- <7vd43xg7lf.fsf@alter.siamese.dyndns.org>
- In-Reply-To
- <fabb9a1e0911041406tce0956ai2ad3fe6cfbdc546d@mail.gmail.com>
Sverre Rabbelier <srabbelier@gmail.com> writes:
Show 5 quoted lines
>> 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?
What do you mean by <alias> here? Is it the <alias> in
[remote "alias"]
url = hg::http://some.where/repo/sito/ry.hgIOW, can a user ever use the foreign interface directly from the command line, without ever defining such entries in .git/config, perhaps using "git remote"?