aboutsummaryrefslogtreecommitdiff
path: root/builtin-update-ref.c
diff options
context:
space:
mode:
Diffstat (limited to 'builtin-update-ref.c')
-rw-r--r--builtin-update-ref.c3
1 files changed, 2 insertions, 1 deletions
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.");