X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=update-ref.c;h=ba4bf5153efb38914f66658c59784b58d8b69a0a;hb=be1295d16a2593dcf468fef7d9e811d057d9039f;hp=e6fbddbab6939023c4bbea9e0b685904dc6ba0b0;hpb=56fc63193975edd4b9f520b6c65c2b97ecd8ee38;p=git.git diff --git a/update-ref.c b/update-ref.c index e6fbddba..ba4bf515 100644 --- a/update-ref.c +++ b/update-ref.c @@ -25,6 +25,7 @@ int main(int argc, char **argv) int fd, written; setup_git_directory(); + git_config(git_default_config); if (argc < 3 || argc > 4) usage(git_update_ref_usage);