diff options
| author | Taylor Blau <me@ttaylorr.com> | 2021-03-05 10:21:50 -0500 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2021-03-05 11:33:52 -0800 |
| commit | 13d746a303592068826824b30c47941fb328c8a7 (patch) | |
| tree | 4c401453fa96d31cec741259c30835b5a58d94c5 /commit.h | |
| parent | t7703: test --geometric repack with loose objects (diff) | |
| download | git-13d746a303592068826824b30c47941fb328c8a7.tar.gz git-13d746a303592068826824b30c47941fb328c8a7.zip | |
builtin/repack.c: assign pack split later
To determine the where to place the split when repacking with the
'--geometric' option, split_pack_geometry() assigns the "split" variable
and then decrements it in a loop.
It would be equivalent (and more readable) to assign the split to the
loop position after exiting the loop, so do that instead.
Suggested-by: Junio C Hamano <gitster@pobox.com>
Signed-off-by: Taylor Blau <me@ttaylorr.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'commit.h')
0 files changed, 0 insertions, 0 deletions
