summaryrefslogtreecommitdiffstats
path: root/cache.h
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2014-07-16 20:32:33 +0200
committerJunio C Hamano <gitster@pobox.com>2014-07-16 20:32:33 +0200
commitc9831bb09d090011a51d2645ab638cf956924513 (patch)
tree13e76cefde992120024bc06d1f18e00986e8169d /cache.h
parentMerge branch 'cb/filter-branch-prune-empty-degenerate-merges' (diff)
parentcache.h: rename cache_def_free to cache_def_clear (diff)
downloadgit-c9831bb09d090011a51d2645ab638cf956924513.tar.xz
git-c9831bb09d090011a51d2645ab638cf956924513.zip
Merge branch 'kb/path-max-must-go'
* kb/path-max-must-go: cache.h: rename cache_def_free to cache_def_clear
Diffstat (limited to 'cache.h')
-rw-r--r--cache.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/cache.h b/cache.h
index 6db3ae1b43..92fc9f1121 100644
--- a/cache.h
+++ b/cache.h
@@ -1115,7 +1115,7 @@ struct cache_def {
int prefix_len_stat_func;
};
#define CACHE_DEF_INIT { STRBUF_INIT, 0, 0, 0 }
-static inline void cache_def_free(struct cache_def *cache)
+static inline void cache_def_clear(struct cache_def *cache)
{
strbuf_release(&cache->path);
}