From: Johannes Schindelin Date: Tue, 20 Jan 2009 10:15:07 GMT Subject: Re: [PATCH] Introduce for_each_recent_reflog_ent(). Message-ID: In-Reply-To: <7vpriimr93.fsf_-_@gitster.siamese.dyndns.org> Hi, On Mon, 19 Jan 2009, Junio C Hamano wrote: > This can be used to scan only the last few kilobytes of a reflog, as a > cheap optimization when the data you are looking for is likely to be > found near the end of it. The caller is expected to fall back to the > full scan if that is not the case. FWIW I really like it, as it works around mmap() nicely. Ciao, Dscho