summaryrefslogtreecommitdiff
path: root/perl/Git.xs
diff options
context:
space:
mode:
authorJunio C Hamano <junkio@cox.net>2006-09-03 05:58:48 (GMT)
committerJunio C Hamano <junkio@cox.net>2006-09-03 05:58:48 (GMT)
commit81a71734bb73c2def1e86de88fb8de9fb6379cc5 (patch)
tree8cc0d56c795faa33ac3fcddb763aac30e1a21204 /perl/Git.xs
parent9594b326dcd6b879807fe6614f55ba50fa3d4551 (diff)
downloadgit-81a71734bb73c2def1e86de88fb8de9fb6379cc5.zip
git-81a71734bb73c2def1e86de88fb8de9fb6379cc5.tar.gz
git-81a71734bb73c2def1e86de88fb8de9fb6379cc5.tar.bz2
Revert "Make it possible to set up libgit directly (instead of from the environment)"
This reverts commit 0270083ded143fd49841e3d3d0cac5eb06081d2a.
Diffstat (limited to 'perl/Git.xs')
-rw-r--r--perl/Git.xs16
1 files changed, 1 insertions, 15 deletions
diff --git a/perl/Git.xs b/perl/Git.xs
index 6ed26a2..2bbec43 100644
--- a/perl/Git.xs
+++ b/perl/Git.xs
@@ -52,21 +52,7 @@ BOOT:
}
-void
-xs__call_gate(repoid, git_dir)
- long repoid;
- char *git_dir;
-CODE:
-{
- static long last_repoid;
- if (repoid != last_repoid) {
- setup_git(git_dir,
- getenv(DB_ENVIRONMENT),
- getenv(INDEX_ENVIRONMENT),
- getenv(GRAFT_ENVIRONMENT));
- last_repoid = repoid;
- }
-}
+# /* TODO: xs_call_gate(). See Git.pm. */
char *