aboutsummaryrefslogtreecommitdiffstats
path: root/t/t4013/diff.diff_--stat_initial..side
diff options
context:
space:
mode:
authorMichael Haggerty <mhagger@alum.mit.edu>2012-04-27 00:27:07 +0200
committerJunio C Hamano <gitster@pobox.com>2012-05-03 13:15:36 -0700
commit28e6a34e254a1ee5fc3d106e4a6117fd02254589 (patch)
treee225c27e768d90e2c0e07d9be9e24b5a6c4ff6a2 /t/t4013/diff.diff_--stat_initial..side
parentread_loose_refs(): eliminate ref_cache argument (diff)
downloadgit-28e6a34e254a1ee5fc3d106e4a6117fd02254589.tar.gz
git-28e6a34e254a1ee5fc3d106e4a6117fd02254589.zip
refs: read loose references lazily
Instead of reading the whole directory of loose references the first time any are needed, only read them on demand, one directory at a time. Use a new ref_entry flag bit REF_INCOMPLETE to indicate that the entry represents a REF_DIR that hasn't been read yet. Whenever any entries from such a directory are needed, read all of the loose references from that directory. Signed-off-by: Michael Haggerty <mhagger@alum.mit.edu> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t4013/diff.diff_--stat_initial..side')
0 files changed, 0 insertions, 0 deletions