diff options
| author | Sean Barag <sean@barag.org> | 2020-10-01 03:46:15 +0000 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2020-09-30 22:09:13 -0700 |
| commit | 75ca3906b1ea6a00a20ef16c889e9d6a15a8defc (patch) | |
| tree | 7179df53a871891416523b6bede851be4c93327d /builtin/commit.c | |
| parent | clone: validate --origin option before use (diff) | |
| download | git-75ca3906b1ea6a00a20ef16c889e9d6a15a8defc.tar.gz git-75ca3906b1ea6a00a20ef16c889e9d6a15a8defc.zip | |
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 'builtin/commit.c')
0 files changed, 0 insertions, 0 deletions
