X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=builtin-update-ref.c;h=76ba1d5881b3cddc527bd363dec340c83dde605f;hb=f90cf2b9203e81e3a2b70b15480628e9189b7e60;hp=378dc1b7a6bb4d56d301a34a4d44dae2f9a37e44;hpb=7b51b77dbc71e83789f59f0cd559489115478f27;p=git.git 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.");