summaryrefslogtreecommitdiff
path: root/checkout-index.c
diff options
context:
space:
mode:
Diffstat (limited to 'checkout-index.c')
-rw-r--r--checkout-index.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/checkout-index.c b/checkout-index.c
index 53dd8cb..957b4a8 100644
--- a/checkout-index.c
+++ b/checkout-index.c
@@ -116,6 +116,7 @@ int main(int argc, char **argv)
int all = 0;
prefix = setup_git_directory();
+ git_config(git_default_config);
prefix_length = prefix ? strlen(prefix) : 0;
if (read_cache() < 0) {