dir.c: rename free_excludes() to clear_exclude_list()
authorAdam Spiers <git@adamspiers.org>
Thu, 27 Dec 2012 02:32:29 +0000 (02:32 +0000)
committerJunio C Hamano <gitster@pobox.com>
Fri, 28 Dec 2012 20:07:47 +0000 (12:07 -0800)
commitf61988125130ac091bfb69bda5d62b0ad8f054c4
tree93e6875927a0a788ed695740b25fc3fadfb0d408
parenta35341a86ecf354d46cf326ed9e0ffbceb54309d
dir.c: rename free_excludes() to clear_exclude_list()

It is clearer to use a 'clear_' prefix for functions which empty
and deallocate the contents of a data structure without freeing
the structure itself, and a 'free_' prefix for functions which
also free the structure itself.

http://article.gmane.org/gmane.comp.version-control.git/206128

Signed-off-by: Adam Spiers <git@adamspiers.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
dir.c
dir.h
unpack-trees.c