From: Junio C Hamano Date: Sun, 01 Dec 2019 16:22:33 GMT Subject: Re: [PATCH 2/2] revision: free topo_walk_info before creating a new one in init_topo_walk Message-ID: In-Reply-To: <46c47a21-d0e1-296f-5563-ae29597f995c@gmail.com> Derrick Stolee writes: > In general I like this change. I'm happy that this was split into a > method instead of crammed into the block of the "if" below. > >> + clear_author_date_slab(&info->author_date); > > The only issue I have is that the author_date slab should not be > cleared. That is used by more than the topo-walk AND the values for > author dates will not change between subsequent revision walks. Just > drop that line and we should be good to go! Hmph, isn't this merely a performance thing, or would a slab that was once cleared never repopulate upon its second use (i.e. affecting correctness)? Thanks.