summaryrefslogtreecommitdiff
path: root/preload-index.c
diff options
context:
space:
mode:
authorKarsten Blees <karsten.blees@gmail.com>2014-07-11 23:02:34 (GMT)
committerJunio C Hamano <gitster@pobox.com>2014-07-13 17:12:37 (GMT)
commit2a608391509dc5ea50c9b88e5b98dae6694d7011 (patch)
tree94b6b2f59f3c0bbfef921fdaccf4d298bbef5a59 /preload-index.c
parente7c730530065fb2f366ecbcb1e71d7f7346b6a25 (diff)
downloadgit-2a608391509dc5ea50c9b88e5b98dae6694d7011.zip
git-2a608391509dc5ea50c9b88e5b98dae6694d7011.tar.gz
git-2a608391509dc5ea50c9b88e5b98dae6694d7011.tar.bz2
cache.h: rename cache_def_free to cache_def_clear
Rename cache_def_free to cache_def_clear as it doesn't free the struct cache_def, but just clears its content. Signed-off-by: Karsten Blees <blees@dcon.de> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'preload-index.c')
-rw-r--r--preload-index.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/preload-index.c b/preload-index.c
index 79ce8a9..c1fe3a3 100644
--- a/preload-index.c
+++ b/preload-index.c
@@ -63,7 +63,7 @@ static void *preload_thread(void *_data)
continue;
ce_mark_uptodate(ce);
} while (--nr > 0);
- cache_def_free(&cache);
+ cache_def_clear(&cache);
return NULL;
}