]> git.ipfire.org Git - thirdparty/git.git/commit - cache.h
Provide API access to init_db()
authorDaniel Barkalow <barkalow@iabervon.org>
Sun, 27 Apr 2008 17:39:27 +0000 (13:39 -0400)
committerJunio C Hamano <gitster@pobox.com>
Mon, 5 May 2008 00:41:45 +0000 (17:41 -0700)
commitf225aeb278eb1c8c028cd2ff1fdfe7a45067b8e1
tree48c4a929656714194ff3f0ccf62a691a21b58a00
parent19757d80e522e9f04c125ad5977c3a79db99b192
Provide API access to init_db()

The caller first calls set_git_dir() to specify the GIT_DIR, and then
calls init_db() to initialize it. This also cleans up various parts of
the code to account for the fact that everything is done with GIT_DIR
set, so it's unnecessary to pass the specified directory around.

Signed-off-by: Daniel Barkalow <barkalow@iabervon.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin-init-db.c
cache.h