Re: Statictics on Git.pm usage in git commands (was: [PATCH 2/3] add new Git::Repo API)
- From
Petr Baudis <pasky@suse.cz>
- Date
- Jul 20, 2008, 21:38 UTC
- Message-ID
- <20080720213818.GF10151@machine.or.cz>
- In-Reply-To
- <200807200216.37260.jnareb@gmail.com>
On Sun, Jul 20, 2008 at 02:16:36AM +0200, Jakub Narebski wrote:
> By the way, git-svn can use command(...) instead of $repo->command(...)
> because it sets $ENV{'GIT_DIR'} if it is unset... but I don't see
> where Git.pm inserts 'git' to commands list...In _execv_git_cmd(), or did I misunderstand your question?
(I think that level of indirection is probably residuum of the XS interface.)
Petr "Pasky" Baudis