diff options
author | Nguyễn Thái Ngọc Duy <pclouds@gmail.com> | 2010-11-26 22:32:40 +0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2010-12-22 14:34:24 -0800 |
commit | 835183603b4aed84797f60c91c5ebd79be7b2e11 (patch) | |
tree | 26185e62bc8382a154dad39d39ca544c43b79f77 /cache.h | |
parent | b3f66fd3e3abeb9183f33f023727e3a53868849d (diff) | |
download | git-835183603b4aed84797f60c91c5ebd79be7b2e11.tar.gz |
Remove all logic from get_git_work_tree()
This logic is now only used by cmd_init_db(). setup_* functions do not
rely on it any more. Move all the logic to cmd_init_db() and turn
get_git_work_tree() into a simple function.
Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'cache.h')
-rw-r--r-- | cache.h | 1 |
1 files changed, 0 insertions, 1 deletions
@@ -1119,7 +1119,6 @@ const char *split_cmdline_strerror(int cmdline_errno); /* git.c */ struct startup_info { int have_repository; - int setup_explicit; }; extern struct startup_info *startup_info; |