summaryrefslogtreecommitdiff
path: root/fast-import.c
diff options
context:
space:
mode:
authorNicolas Pitre <nico@cam.org>2007-12-08 00:00:08 -0500
committerJunio C Hamano <gitster@pobox.com>2007-12-08 03:38:35 -0800
commitb904166ccb67d80491fad9d4f5ec42d241975f37 (patch)
tree2e32c39e3a16d1800f86acf662c61ad4d220a46e /fast-import.c
parentb7a28f7827ba1043501fe357cbbdff3f2e357143 (diff)
downloadgit-b904166ccb67d80491fad9d4f5ec42d241975f37.tar.gz
pack-objects: reverse the delta search sort list
It is currently sorted and then walked backward. Not only this doesn't feel natural for my poor brain, but it would make the next patch less obvious as well. So reverse the sort order, and reverse the list walking direction, which effectively produce the exact same end result as before. Also bring the relevant comment nearer the actual code and adjust it accordingly, with minor additional clarifications. Signed-off-by: Nicolas Pitre <nico@cam.org> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'fast-import.c')
0 files changed, 0 insertions, 0 deletions