]> git.ipfire.org Git - thirdparty/git.git/commit - object.h
object_array: add function object_array_filter()
authorMichael Haggerty <mhagger@alum.mit.edu>
Sat, 25 May 2013 09:08:08 +0000 (11:08 +0200)
committerJunio C Hamano <gitster@pobox.com>
Tue, 28 May 2013 16:25:01 +0000 (09:25 -0700)
commitaeb4a51ef82c71c9a65d11f77aeedb53bea0e983
tree1a656baf48771c3a74dfc8d3c0775cff031fcb53
parentff5f5f268fd36b6db059c06d124305866ecaa6ce
object_array: add function object_array_filter()

Add a function that allows unwanted entries in an object_array to be
removed.  This encapsulation is a step towards giving object_array
ownership of its entries' name memory.

Signed-off-by: Michael Haggerty <mhagger@alum.mit.edu>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
object.c
object.h