diff options
| author | Derrick Stolee <derrickstolee@github.com> | 2022-08-09 13:11:42 +0000 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2022-08-10 14:07:37 -0700 |
| commit | 59c1752ab6768cb9c380f0a7c9d06af79d183f67 (patch) | |
| tree | 160d8560e87bd9d0426b9f45155340b8e6b675b9 /commit-graph.c | |
| parent | 55568919616429fbc209880cf189a3adaceb6093 (diff) | |
bundle-uri: add support for http(s):// and file://
The previous change created the 'git clone --bundle-uri=<uri>' option.
Currently, <uri> must be a filename.
Update copy_uri_to_file() to first inspect the URI for an HTTP(S) prefix
and use git-remote-https as the way to download the data at that URI.
Otherwise, check to see if file:// is present and modify the prefix
accordingly.
Reviewed-by: Josh Steadmon <steadmon@google.com>
Signed-off-by: Derrick Stolee <derrickstolee@github.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'commit-graph.c')
0 files changed, 0 insertions, 0 deletions
