diff options
author | Jonathan Tan <jonathantanmy@google.com> | 2021-07-15 10:44:30 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2021-07-15 11:58:52 -0700 |
commit | 74fab8ff54e6e6a30efa254b8b5322764d119386 (patch) | |
tree | aae7e266fa53637f32268b603d6c6007ff598b57 /pathspec.h | |
parent | Git 2.32 (diff) | |
download | tgif-74fab8ff54e6e6a30efa254b8b5322764d119386.tar.xz |
send-pack: fix push.negotiate with remote helper
Commit 477673d6f3 ("send-pack: support push negotiation", 2021-05-05)
introduced the push.negotiate config variable and included a test. The
test only covered pushing without a remote helper, so the fact that
pushing with a remote helper doesn't work went unnoticed.
This is ultimately caused by the "url" field not being set in the args
struct. This field being unset probably went unnoticed because besides
push negotiation, this field is only used to generate a "pushee" line in
a push cert (and if not given, no such line is generated). Therefore,
set this field.
Signed-off-by: Jonathan Tan <jonathantanmy@google.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'pathspec.h')
0 files changed, 0 insertions, 0 deletions