summaryrefslogtreecommitdiff
path: root/builtin.h
diff options
context:
space:
mode:
authorLibravatar Jonathan Tan <jonathantanmy@google.com>2021-07-15 10:44:32 -0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2021-07-15 11:58:52 -0700
commit82823118b9cd397d6b626cc86a0e555069ea8253 (patch)
treeb2fef9aff85748958c92be3a5479ba86a7b0da3c /builtin.h
parentsend-pack: fix push nego. when remote has refs (diff)
downloadtgif-82823118b9cd397d6b626cc86a0e555069ea8253.tar.xz
fetch: die on invalid --negotiation-tip hash
If a full hexadecimal hash is given as a --negotiation-tip to "git fetch", and that hash does not correspond to an object, "git fetch" will segfault if --negotiate-only is given and will silently ignore that hash otherwise. Make these cases fatal errors, just like the case when an invalid ref name or abbreviated hash is given. While at it, mark the error messages as translatable. Signed-off-by: Jonathan Tan <jonathantanmy@google.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin.h')
0 files changed, 0 insertions, 0 deletions