Re: [PATCH] Introduce for_each_recent_reflog_ent().

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux