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 57a3e9db62..aba60d5712 100644 --- a/remote-curl.c +++ b/remote-curl.c @@ -1563,6 +1563,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; |
