X-Git-Url: http://pileus.org/git/?a=blobdiff_plain;f=builtin-update-ref.c;h=76ba1d5881b3cddc527bd363dec340c83dde605f;hb=1d7367dce7b55cbb1804c4863c56bd20ab12bda8;hp=378dc1b7a6bb4d56d301a34a4d44dae2f9a37e44;hpb=f630171d9d1839669446506aff0704a4dfe98b99;p=~andy%2Fgit diff --git a/builtin-update-ref.c b/builtin-update-ref.c index 378dc1b7a..76ba1d588 100644 --- a/builtin-update-ref.c +++ b/builtin-update-ref.c @@ -23,7 +23,8 @@ int cmd_update_ref(int argc, const char **argv, const char *prefix) }; git_config(git_default_config, NULL); - argc = parse_options(argc, argv, options, git_update_ref_usage, 0); + argc = parse_options(argc, argv, prefix, options, git_update_ref_usage, + 0); if (msg && !*msg) die("Refusing to perform update with empty message.");