commit | 92e5c77c3791567e299cc858a7ddfed410e2cec5 | [log] [tgz] |
---|---|---|
author | Vicent Marti <tanoku@gmail.com> | Thu Oct 24 14:00:36 2013 -0400 |
committer | Junio C Hamano <gitster@pobox.com> | Thu Oct 24 15:44:45 2013 -0700 |
tree | d1ebaa237003dbcfedce34f584306e5393d8a419 | |
parent | e74435a5169b56be901196ad172b4dbda124254d [diff] |
revindex: export new APIs Allow users to efficiently lookup consecutive entries that are expected to be found on the same revindex by exporting `find_revindex_position`: this function takes a pointer to revindex itself, instead of looking up the proper revindex for a given packfile on each call. Signed-off-by: Vicent Marti <tanoku@gmail.com> Signed-off-by: Jeff King <peff@peff.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>