]> git.ipfire.org Git - thirdparty/git.git/commit
push: make setup_push_* return the dst
authorFelipe Contreras <felipe.contreras@gmail.com>
Mon, 31 May 2021 19:51:17 +0000 (14:51 -0500)
committerJunio C Hamano <gitster@pobox.com>
Wed, 2 Jun 2021 01:12:01 +0000 (10:12 +0900)
commit00458dc5f191f52ef965ca7185b739e8c800b7cb
treeadc489b48b9dce01a18c39678c29d5977b529d16
parent65c63a005434306e7c064eb463ff1f61de56d38e
push: make setup_push_* return the dst

All of the setup_push_* functions are appending a refspec. Do this only
once on the parent function.

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