]> git.ipfire.org Git - thirdparty/git.git/commit
push: hedge code of default=simple
authorFelipe Contreras <felipe.contreras@gmail.com>
Mon, 31 May 2021 19:32:32 +0000 (14:32 -0500)
committerJunio C Hamano <gitster@pobox.com>
Wed, 2 Jun 2021 01:09:51 +0000 (10:09 +0900)
commit3b9fd8361f1ed98f06df24d406b9a618c7f39df1
treef2960ddf7d9c2e7418cbc7fa51861b79e79ee5c4
parent050f76b9af75bf69110d542e0cee569d0112f320
push: hedge code of default=simple

`simple` is the most important mode so move the relevant code to its own
function to make it easier to see what it's doing.

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