diff options
| author | Junio C Hamano <gitster@pobox.com> | 2024-01-02 13:51:29 -0800 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2024-01-02 13:51:29 -0800 |
| commit | 43ec8791692f70768fa8eb23056db6a4e0ba3c6a (patch) | |
| tree | 3aab7abf173589adb377e4bc8ded92a766fd7661 /builtin/send-pack.c | |
| parent | 9cc710098bb9aa3efcefcb5237d001ed09a52e50 (diff) | |
| parent | a762af3dfd9450bf1d6153faa620cb42efb7daa8 (diff) | |
| download | git-43ec8791692f70768fa8eb23056db6a4e0ba3c6a.tar.xz | |
Merge branch 'jc/retire-cas-opt-name-constant'
Code clean-up.
* jc/retire-cas-opt-name-constant:
remote.h: retire CAS_OPT_NAME
Diffstat (limited to 'builtin/send-pack.c')
| -rw-r--r-- | builtin/send-pack.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/builtin/send-pack.c b/builtin/send-pack.c index 00e6c90477..e12054a78e 100644 --- a/builtin/send-pack.c +++ b/builtin/send-pack.c @@ -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, |
