summaryrefslogtreecommitdiff
path: root/compat/setenv.c
diff options
context:
space:
mode:
authorLibravatar Sean Barag <sean@barag.org>2020-10-01 03:46:15 +0000
committerLibravatar Junio C Hamano <gitster@pobox.com>2020-09-30 22:09:13 -0700
commit75ca3906b1ea6a00a20ef16c889e9d6a15a8defc (patch)
tree7179df53a871891416523b6bede851be4c93327d /compat/setenv.c
parentclone: validate --origin option before use (diff)
downloadtgif-75ca3906b1ea6a00a20ef16c889e9d6a15a8defc.tar.xz
clone: read new remote name from remote_name instead of option_origin
In a future patch, the name of the remote created by `git clone` may come from multiple sources. To avoid confusion, convert most uses of option_origin to remote_name, leaving option_origin to exclusively represent the -o/--origin option. Helped-by: Derrick Stolee <stolee@gmail.com> Signed-off-by: Sean Barag <sean@barag.org> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'compat/setenv.c')
0 files changed, 0 insertions, 0 deletions