]> git.ipfire.org Git - thirdparty/git.git/commit - builtin/clone.c
clone: warn on failure to repo_init()
authorDerrick Stolee <derrickstolee@github.com>
Tue, 23 Aug 2022 14:05:13 +0000 (10:05 -0400)
committerJunio C Hamano <gitster@pobox.com>
Wed, 24 Aug 2022 15:46:36 +0000 (08:46 -0700)
commit65da93891680edc0d1471d436d92d4da7d0b4465
tree40302e1b87a94f07bd8c05c5ce03c60b21318b17
parente21e663cd1942df29979d3e01f7eacb532727bb7
clone: warn on failure to repo_init()

The --bundle-uri option was added in 55568919616 (clone: add
--bundle-uri option, 2022-08-09), but this also introduced a call to
repo_init() whose return value was ignored. Fix that ignored value by
warning that the bundle URI process could not continue if it failed.

Signed-off-by: Derrick Stolee <derrickstolee@github.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/clone.c