diff options
author | Adam Spiers <git@adamspiers.org> | 2013-01-06 16:58:05 +0000 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2013-01-06 14:26:37 -0800 |
commit | 270be8160493eb25ee43eb7db8dda2504343dc65 (patch) | |
tree | 93d5642a17e8d182a1c9a22c02c62e3219416ae0 /t | |
parent | dir.c: keep track of where patterns came from (diff) | |
download | tgif-270be8160493eb25ee43eb7db8dda2504343dc65.tar.xz |
dir.c: provide clear_directory() for reclaiming dir_struct memory
By the end of a directory traversal, a dir_struct instance will
typically contains pointers to various data structures on the heap.
clear_directory() provides a convenient way to reclaim that memory.
Signed-off-by: Adam Spiers <git@adamspiers.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't')
0 files changed, 0 insertions, 0 deletions