]> git.ipfire.org Git - thirdparty/git.git/commit - notes-merge.c
pathspec: rename free_pathspec() to clear_pathspec()
authorJunio C Hamano <gitster@pobox.com>
Thu, 2 Jun 2016 21:09:22 +0000 (14:09 -0700)
committerJunio C Hamano <gitster@pobox.com>
Thu, 2 Jun 2016 21:09:22 +0000 (14:09 -0700)
commited6e8038f98e7f15e571a9a291ee4acf438b4dc5
tree82560db1d8fef5db3c449213f992bd26a5473ac5
parent60bd4b1c513bb652cdffad44382046ca872140eb
pathspec: rename free_pathspec() to clear_pathspec()

The function takes a pointer to a pathspec structure, and releases
the resources held by it, but does not free() the structure itself.
Such a function should be called "clear", not "free".

Signed-off-by: Junio C Hamano <gitster@pobox.com>
archive.c
builtin/blame.c
builtin/reset.c
builtin/update-index.c
combine-diff.c
notes-merge.c
pathspec.c
pathspec.h
revision.c
tree-diff.c