mirror of
https://github.com/git/git.git
synced 2024-10-29 21:37:53 +01:00
Merge branch 'kb/path-max-must-go'
* kb/path-max-must-go: cache.h: rename cache_def_free to cache_def_clear
This commit is contained in:
commit
c9831bb09d
2 changed files with 2 additions and 2 deletions
2
cache.h
2
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);
|
||||
}
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue