]> git.ipfire.org Git - thirdparty/git.git/commit
Merge branch 'th/push-local-ff-check-without-lazy-fetch'
authorJunio C Hamano <gitster@pobox.com>
Mon, 3 Jun 2024 20:11:11 +0000 (13:11 -0700)
committerJunio C Hamano <gitster@pobox.com>
Mon, 3 Jun 2024 20:11:12 +0000 (13:11 -0700)
commiteb6392fb4f10ea627cf5f62740cf399e21378c9f
treeba8223e1cc72416f4e8e6adf6c36aa49b0399fdb
parent5c7c063c1f2b862d4d91b2230fc064dd9cf2d414
parent6549c41ead833c8d8c4098806a29399433065516
Merge branch 'th/push-local-ff-check-without-lazy-fetch'

When "git push" notices that the commit at the tip of the ref on
the other side it is about to overwrite does not exist locally, it
used to first try fetching it if the local repository is a partial
clone. The command has been taught not to do so and immediately
fail instead.

* th/push-local-ff-check-without-lazy-fetch:
  push: don't fetch commit object when checking existence
remote.c