refs.c
42.7 KB
-
filebuf: add GIT_FILEBUF_INIT and protect multiple opens and cleanups · b762e576
Update all stack allocations of git_filebuf to use GIT_FILEBUF_INIT and make git_filebuf_open and git_filebuf_cleanup safe to be called multiple times on the same buffer. Signed-off-by: Vicent Marti <tanoku@gmail.com>
Russell Belfer committed