aboutsummaryrefslogtreecommitdiffstats
path: root/builtin/apply.c
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2025-07-15 14:31:01 -0700
committerJunio C Hamano <gitster@pobox.com>2025-07-15 14:31:01 -0700
commita6b007093a704324161fbf37c0c5bded1203d84a (patch)
treed35981c46cb19e0609d073719be6b384ec914b60 /builtin/apply.c
parent16bd9f20a403117f2e0d9bcda6c6e621d3763e77 (diff)
parentc79bb70a2e7d9158ec165ea16ad45371cd6e350d (diff)
downloadgit-a6b007093a704324161fbf37c0c5bded1203d84a.tar.gz
Merge branch 'bc/use-sha256-by-default-in-3.0' into kl/test-installed-fix
Diffstat (limited to 'builtin/apply.c')
-rw-r--r--builtin/apply.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/builtin/apply.c b/builtin/apply.c
index a1e20c593d..d642a40251 100644
--- a/builtin/apply.c
+++ b/builtin/apply.c
@@ -29,7 +29,7 @@ int cmd_apply(int argc,
* cf. https://lore.kernel.org/git/xmqqcypfcmn4.fsf@gitster.g/
*/
if (!the_hash_algo)
- repo_set_hash_algo(the_repository, GIT_HASH_SHA1);
+ repo_set_hash_algo(the_repository, GIT_HASH_DEFAULT);
argc = apply_parse_options(argc, argv,
&state, &force_apply, &options,