X-Git-Url: https://git.octo.it/?a=blobdiff_plain;ds=sidebyside;f=checkout-index.c;h=957b4a86b07062b4cafaf9006bca6f7767b46ecf;hb=1e3584053d56157549c01114f9550d1db7014a3e;hp=53dd8cba6f0c56125545acd46f1091366949f89b;hpb=90768daaa006516c7ae69ed89d7c2e67243dfac1;p=git.git diff --git a/checkout-index.c b/checkout-index.c index 53dd8cba..957b4a86 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) {