summaryrefslogtreecommitdiff
path: root/builtin/rev-parse.c
diff options
context:
space:
mode:
authorLibravatar Felipe Contreras <felipe.contreras@gmail.com>2021-05-31 14:32:33 -0500
committerLibravatar Junio C Hamano <gitster@pobox.com>2021-06-02 10:09:51 +0900
commitd099b9c9c723e8ca974e5ece027165e2824a1b89 (patch)
tree5ad078cc8875f0155318be9ab1617d5ecbb62829 /builtin/rev-parse.c
parentpush: hedge code of default=simple (diff)
downloadtgif-d099b9c9c723e8ca974e5ece027165e2824a1b89.tar.xz
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>
Diffstat (limited to 'builtin/rev-parse.c')
0 files changed, 0 insertions, 0 deletions