diff --git a/checkout-index.c b/checkout-index.c
index 53dd8cba6f0c56125545acd46f1091366949f89b..957b4a86b07062b4cafaf9006bca6f7767b46ecf 100644 (file)
--- a/checkout-index.c
+++ b/checkout-index.c
int all = 0;
prefix = setup_git_directory();
+ git_config(git_default_config);
prefix_length = prefix ? strlen(prefix) : 0;
if (read_cache() < 0) {