]> git.ipfire.org Git - thirdparty/git.git/blobdiff - builtin/send-pack.c
Merge branch 'jc/retire-cas-opt-name-constant'
[thirdparty/git.git] / builtin / send-pack.c
index 00e6c90477be689df85cddf606be772b74709e2b..e12054a78ee9088ea16739804761404c4303173f 100644 (file)
@@ -205,7 +205,7 @@ int cmd_send_pack(int argc, const char **argv, const char *prefix)
                OPT_BOOL(0, "stateless-rpc", &stateless_rpc, N_("use stateless RPC protocol")),
                OPT_BOOL(0, "stdin", &from_stdin, N_("read refs from stdin")),
                OPT_BOOL(0, "helper-status", &helper_status, N_("print status from remote helper")),
-               OPT_CALLBACK_F(0, CAS_OPT_NAME, &cas, N_("<refname>:<expect>"),
+               OPT_CALLBACK_F(0, "force-with-lease", &cas, N_("<refname>:<expect>"),
                  N_("require old value of ref to be at this value"),
                  PARSE_OPT_OPTARG, parseopt_push_cas_option),
                OPT_BOOL(0, TRANS_OPT_FORCE_IF_INCLUDES, &force_if_includes,