git/perl
Petr Baudis 0270083ded Make it possible to set up libgit directly (instead of from the environment)
This introduces a setup_git() function which is essentialy a (public)
backend for setup_git_env() which lets anyone specify custom sources
for the various paths instead of environment variables. Since the repositories
may get switched on the fly, this also updates code that caches paths to
invalidate them properly; I hope neither of those is a sweet spot.

It is used by Git.xs' xs__call_gate() to set up per-repository data
for libgit's consumption. No code actually takes advantage of it yet
but get_object() will in the next patches.

Signed-off-by: Petr Baudis <pasky@suse.cz>
Signed-off-by: Junio C Hamano <junkio@cox.net>
2006-07-09 01:20:01 -07:00
..
.gitignore Introduce Git.pm (v4) 2006-07-02 17:14:40 -07:00
Git.pm Make it possible to set up libgit directly (instead of from the environment) 2006-07-09 01:20:01 -07:00
Git.xs Make it possible to set up libgit directly (instead of from the environment) 2006-07-09 01:20:01 -07:00
Makefile.PL Git.pm: Avoid ppport.h 2006-07-02 17:14:44 -07:00
private-Error.pm Fix probing for already installed Error.pm 2006-07-02 17:14:44 -07:00