summaryrefslogtreecommitdiff
path: root/test-match-trees.c
diff options
context:
space:
mode:
authorRené Scharfe <rene.scharfe@lsrfire.ath.cx>2011-10-01 18:02:36 +0200
committerJunio C Hamano <gitster@pobox.com>2011-10-03 11:15:31 -0700
commit5be7859962585589f374f8467f3252bfcfa10fd0 (patch)
tree9a95dc00c86fe143cc0a6c3e8d6a05da61abac02 /test-match-trees.c
parent353f5657a8263bf4159d7e0450fb891df5e2b4c6 (diff)
downloadgit-5be7859962585589f374f8467f3252bfcfa10fd0.tar.gz
bundle: use leak_pending flag
Instead of creating a copy of the list of pending objects, copy the struct object_array that points to it, turn on leak_pending, and thus cause prepare_revision_walk to leave it to us. And free it once we're done. Signed-off-by: Rene Scharfe <rene.scharfe@lsrfire.ath.cx> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'test-match-trees.c')
0 files changed, 0 insertions, 0 deletions