mirror of
https://git.proxmox.com/git/libgit2
synced 2025-08-04 18:56:59 +00:00
Save the git_file in the gitfo_cache when enabling caching
Signed-off-by: Ramsay Jones <ramsay@ramsay1.demon.co.uk>
This commit is contained in:
parent
1cfb0ff4b6
commit
803a6b4d41
@ -151,6 +151,7 @@ gitfo_cache *gitfo_enable_caching(git_file fd, size_t cache_size)
|
||||
if (!ioc)
|
||||
return NULL;
|
||||
|
||||
ioc->fd = fd;
|
||||
ioc->pos = 0;
|
||||
ioc->cache_size = cache_size;
|
||||
ioc->cache = git__malloc(cache_size);
|
||||
|
Loading…
Reference in New Issue
Block a user