Skip to content

Commit 50bc331

Browse files
dschoGit for Windows Build Agent
authored andcommitted
Some amendments for the hashliteral_t size fixes (#6311)
While upstreaming those patches, I've been asked to adjust them. This backports those fixes. Of course, the _real_ reason to do this _now_ is that I need _some_ PR to make a new Git for Windows release (to address [the NTLM](#6308) issue).
2 parents 668c988 + c8dff95 commit 50bc331

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

‎refs/reftable-backend.c‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -417,6 +417,8 @@ static struct ref_store *reftable_be_init(struct repository *repo,
417417

418418
reftable_set_alloc(malloc, realloc, free);
419419

420+
reftable_set_alloc(malloc, realloc, free);
421+
420422
refs_compute_filesystem_location(gitdir, payload, &is_worktree, &refdir,
421423
&ref_common_dir);
422424

‎t/t1007-hash-object.sh‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -287,7 +287,7 @@ test_expect_success EXPENSIVE,SIZE_T_IS_64BIT \
287287

288288
# This clean filter does nothing, other than excercising the interface.
289289
# We ensure that cleaning doesn't mangle large files on 64-bit Windows.
290-
test_expect_success EXPENSIVE,SIZE_T_IS_64BIT,!LONG_IS_64BIT \
290+
test_expect_success EXPENSIVE,SIZE_T_IS_64BIT \
291291
'hash filtered files over 4GB correctly' '
292292
{ test -f big || test-tool genzeros $((5*1024*1024*1024)) >big; } &&
293293
test_oid large5GB >expect &&

0 commit comments

Comments
 (0)