commit | 4a43d374fcbdea26b3596592a497a1c16f90b9e6 | [log] [tgz] |
---|---|---|
author | René Scharfe <rene.scharfe@lsrfire.ath.cx> | Sat Oct 01 17:56:08 2011 +0200 |
committer | Junio C Hamano <gitster@pobox.com> | Mon Oct 03 11:04:34 2011 -0700 |
tree | 02309fa81949421e5b2e6a6045c6687f03b31fd8 | |
parent | 468224e580aeb55bd85b37b86f32baada3d17f1e [diff] |
revision: add leak_pending flag The new flag leak_pending in struct rev_info can be used to prevent prepare_revision_walk from freeing the list of pending objects. It will still forget about them, so it really is leaked. This behaviour may look weird at first, but it can be useful if the pointer to the list is saved before calling prepare_revision_walk. Signed-off-by: Rene Scharfe <rene.scharfe@lsrfire.ath.cx> Signed-off-by: Junio C Hamano <gitster@pobox.com>