diff options
author | Junio C Hamano <gitster@pobox.com> | 2009-01-19 22:18:29 -0800 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2009-01-19 22:18:29 -0800 |
commit | 101d15e09712a0183db99d228d975c62970654cf (patch) | |
tree | 794021ad7ade07c4835ec9c356930c637da26df7 /builtin-fetch.c | |
parent | 39765e5941d36f74cec4764d315da0ba5743547c (diff) | |
download | git-101d15e09712a0183db99d228d975c62970654cf.tar.gz |
Introduce for_each_recent_reflog_ent().
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.
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin-fetch.c')
0 files changed, 0 insertions, 0 deletions