]> git.ipfire.org Git - thirdparty/git.git/commit
Merge branch 'dl/push-missing-object-error' into maint-2.51
authorJunio C Hamano <gitster@pobox.com>
Wed, 15 Oct 2025 17:29:28 +0000 (10:29 -0700)
committerJunio C Hamano <gitster@pobox.com>
Wed, 15 Oct 2025 17:29:28 +0000 (10:29 -0700)
commit1e2e74db6ef956febc64a0b50a440ff73f42c6a9
tree080bf0ca28178a8aa11c735ac4b9c37a3389eb17
parente04c0aded3ce7dc02feab55770a98e5ec1aa65fb
parentdfbfc2221b851ff2d09029a6737c4ec3208cf316
Merge branch 'dl/push-missing-object-error' into maint-2.51

"git push" had a code path that led to BUG() but it should have
been a die(), as it is a response to a usual but invalid end-user
action to attempt pushing an object that does not exist.
cf. <xmqqo6spiyqp.fsf@gitster.g>

* dl/push-missing-object-error:
  remote.c: convert if-else ladder to switch
  remote.c: remove BUG in show_push_unqualified_ref_name_error()
  t5516: remove surrounding empty lines in test bodies
remote.c
t/t5516-fetch-push.sh