]> git.ipfire.org Git - thirdparty/git.git/commit
push: factor out the typical case
authorFelipe Contreras <felipe.contreras@gmail.com>
Mon, 31 May 2021 19:51:20 +0000 (14:51 -0500)
committerJunio C Hamano <gitster@pobox.com>
Wed, 2 Jun 2021 01:12:02 +0000 (10:12 +0900)
commit1f934725f7597366c981b72be6597124e2c21a77
tree3eb90212e40a77a433669b442c1c0adc6bb4bd41
parent0add899baf5a9ee478659821327db719ce74454a
push: factor out the typical case

Only override dst on the odd case.

This allows a preemptive break on the `simple` case.

Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/push.c