X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=builtin-update-ref.c;h=93c127196d272d99d8af24a5fbc7ac89efdbb3d4;hb=4df0d7af6be27fe5b0ffef438ef0169607253f66;hp=e90737c350402fec8937a9e343485e1c71411f55;hpb=2dfffd3e09b2541b1bfcc840a65eac0251832175;p=git.git diff --git a/builtin-update-ref.c b/builtin-update-ref.c index e90737c35..93c127196 100644 --- a/builtin-update-ref.c +++ b/builtin-update-ref.c @@ -22,7 +22,7 @@ int cmd_update_ref(int argc, const char **argv, const char *prefix) OPT_END(), }; - git_config(git_default_config); + git_config(git_default_config, NULL); argc = parse_options(argc, argv, options, git_update_ref_usage, 0); if (msg && !*msg) die("Refusing to perform update with empty message.");