summaryrefslogtreecommitdiff
path: root/commit.c
diff options
context:
space:
mode:
authorDerrick Stolee <derrickstolee@github.com>2022-08-09 13:11:42 +0000
committerJunio C Hamano <gitster@pobox.com>2022-08-10 14:07:37 -0700
commit59c1752ab6768cb9c380f0a7c9d06af79d183f67 (patch)
tree160d8560e87bd9d0426b9f45155340b8e6b675b9 /commit.c
parent55568919616429fbc209880cf189a3adaceb6093 (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.c')
0 files changed, 0 insertions, 0 deletions