author | Daniel Barkalow <barkalow@iabervon.org> | |
Sun, 27 Apr 2008 17:39:27 +0000 (13:39 -0400) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Mon, 5 May 2008 00:41:45 +0000 (17:41 -0700) | ||
commit | f225aeb278eb1c8c028cd2ff1fdfe7a45067b8e1 | |
tree | 48c4a929656714194ff3f0ccf62a691a21b58a00 | tree | snapshot |
parent | 19757d80e522e9f04c125ad5977c3a79db99b192 | commit | diff |
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>
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 | diff | blob | history | |
cache.h | diff | blob | history |