diff options
Diffstat (limited to 'remote-curl.c')
| -rw-r--r-- | remote-curl.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/remote-curl.c b/remote-curl.c index 69f919454a..a489cbe6f4 100644 --- a/remote-curl.c +++ b/remote-curl.c @@ -1551,6 +1551,13 @@ int cmd_main(int argc, const char **argv) goto cleanup; } + /* + * yuck, see 9e89dcb66a (builtin/ls-remote: fall back to SHA1 outside + * of a repo, 2024-08-02) + */ + if (nongit) + repo_set_hash_algo(the_repository, GIT_HASH_DEFAULT); + options.verbosity = 1; options.progress = !!isatty(2); options.thin = 1; |
