]> Kevux Git Server - rit/commit
push: copy code to setup_push_simple()
authorFelipe Contreras <felipe.contreras@gmail.com>
Mon, 31 May 2021 19:32:33 +0000 (14:32 -0500)
committerJunio C Hamano <gitster@pobox.com>
Wed, 2 Jun 2021 01:09:51 +0000 (10:09 +0900)
commitd099b9c9c723e8ca974e5ece027165e2824a1b89
tree5ad078cc8875f0155318be9ab1617d5ecbb62829
parent3b9fd8361f1ed98f06df24d406b9a618c7f39df1
push: copy code to setup_push_simple()

In order to avoid doing unnecessary things and simplify it in further
patches. In particular moving the additional name safety out of
setup_push_upstream() and into setup_push_simple() and thus making both
more straightforward.

The code is copied exactly as-is; no functional changes.

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