diff options
author | Nguyễn Thái Ngọc Duy <pclouds@gmail.com> | 2013-02-13 16:13:17 +0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2013-02-13 07:42:05 -0800 |
commit | d90906a90265fa1df34a7f155fe41b1393679fc4 (patch) | |
tree | 7d745fed55a2316351504c7e649186fedfa67cdd /cache.h | |
parent | git-count-objects.txt: describe each line in -v output (diff) | |
download | tgif-d90906a90265fa1df34a7f155fe41b1393679fc4.tar.xz |
sha1_file: reorder code in prepare_packed_git_one()
The current loop does
while (...) {
if (it is not an .idx file)
continue;
process .idx file;
}
and is reordered to
while (...) {
if (it is an .idx file) {
process .idx file;
}
}
This makes it easier to add new extension file processing.
Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'cache.h')
0 files changed, 0 insertions, 0 deletions