commit | f225aeb278eb1c8c028cd2ff1fdfe7a45067b8e1 | [log] [tgz] |
---|---|---|
author | Daniel Barkalow <barkalow@iabervon.org> | Sun Apr 27 13:39:27 2008 -0400 |
committer | Junio C Hamano <gitster@pobox.com> | Sun May 04 17:41:45 2008 -0700 |
tree | 48c4a929656714194ff3f0ccf62a691a21b58a00 | |
parent | 19757d80e522e9f04c125ad5977c3a79db99b192 [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>