Skip to content

Commit 142d4fc

Browse files
dschoGit for Windows Build Agent
authored andcommitted
Merge branch 'reftable-vs-custom-allocators'
Currently not _strictly_ necessary, but still good to have. Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
2 parents 1d4b605 + a3d0902 commit 142d4fc

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

refs/reftable-backend.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -380,6 +380,8 @@ static struct ref_store *reftable_be_init(struct repository *repo,
380380
mask = umask(0);
381381
umask(mask);
382382

383+
reftable_set_alloc(malloc, realloc, free);
384+
383385
refs_compute_filesystem_location(gitdir, payload, &is_worktree, &refdir,
384386
&ref_common_dir);
385387

0 commit comments

Comments
 (0)