aboutsummaryrefslogtreecommitdiffstats
path: root/environment.c
diff options
context:
space:
mode:
Diffstat (limited to 'environment.c')
-rw-r--r--environment.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/environment.c b/environment.c
index 7c4a142ca2..0a2057399e 100644
--- a/environment.c
+++ b/environment.c
@@ -273,13 +273,6 @@ const char *get_git_work_tree(void)
return the_repository->worktree;
}
-const char *get_object_directory(void)
-{
- if (!the_repository->objects->odb)
- BUG("git environment hasn't been setup");
- return the_repository->objects->odb->path;
-}
-
int odb_mkstemp(struct strbuf *temp_filename, const char *pattern)
{
int fd;