summaryrefslogtreecommitdiff
path: root/test-svn-fe.c
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2011-02-02 18:06:51 (GMT)
committerJunio C Hamano <gitster@pobox.com>2011-02-28 07:29:03 (GMT)
commit7218a215efc7ae46f7ca8d82442f354e7ac06262 (patch)
treee06c293bc3c3c7de9dc73e34eef742024a9dd3be /test-svn-fe.c
parent8978166e531e0941811099d4117574ebbbcf35d8 (diff)
downloadgit-7218a215efc7ae46f7ca8d82442f354e7ac06262.zip
git-7218a215efc7ae46f7ca8d82442f354e7ac06262.tar.gz
git-7218a215efc7ae46f7ca8d82442f354e7ac06262.tar.bz2
index-pack: group the delta-base array entries also by type
Entries in the delta_base array are only grouped by the bytepattern in the delta_base union, some of which have 20-byte object name of the base object (i.e. base for REF_DELTA objects), while others have sizeof(off_t) bytes followed by enough NULs to fill 20-byte. The loops to iterate through a range inside this array still needs to inspect the type of the delta, and skip over false hits. Group the entries also by type to eliminate the potential of false hits. Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'test-svn-fe.c')
0 files changed, 0 insertions, 0 deletions