diff options
| author | Nguyễn Thái Ngọc Duy <pclouds@gmail.com> | 2012-12-16 11:15:26 +0700 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2012-12-15 23:04:22 -0800 |
| commit | 386cc8b031611497186a8c89be0f980a54786525 (patch) | |
| tree | c95a7b1f90d484161d5f79a9553526d79f071433 /t/t4013/diff.format-patch_--stdout_initial..side | |
| parent | cache-tree: remove dead i-t-a code in verify_cache() (diff) | |
| download | git-386cc8b031611497186a8c89be0f980a54786525.tar.gz git-386cc8b031611497186a8c89be0f980a54786525.zip | |
cache-tree: replace "for" loops in update_one with "while" loops
The loops in update_one can be increased in two different ways: step
by one for files and by <n> for directories. "for" loop is not
suitable for this as it always steps by one and special handling is
required for directories. Replace them with "while" loops for clarity.
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 't/t4013/diff.format-patch_--stdout_initial..side')
0 files changed, 0 insertions, 0 deletions
