]> git.99rst.org Git - git.git/commit
builtin/repack.c: rename variables that deal with non-kept packs
authorTaylor Blau <redacted>
Wed, 29 Sep 2021 01:55:12 +0000 (21:55 -0400)
committerJunio C Hamano <redacted>
Wed, 29 Sep 2021 04:20:56 +0000 (21:20 -0700)
commita169166d2bc855f7cc0bbf79039b48da91782d95
treea1f0ee4918432965242b22dc4baaae2b4f9cb877
parent90f838bc368d0a3495fb4164dd76e505bf761b29
builtin/repack.c: rename variables that deal with non-kept packs

The new variable `existing_kept_packs` (and corresponding parameter
`fname_kept_list`) added by the previous patch make it seem like
`existing_packs` and `fname_list` are each subsets of the other two
respectively.

In reality, each pair is disjoint: one stores the packs without .keep
files, and the other stores the packs with .keep files. Rename each to
more clearly reflect this.

Suggested-by: Jonathan Tan <redacted>
Signed-off-by: Taylor Blau <redacted>
Signed-off-by: Junio C Hamano <redacted>
builtin/repack.c
git clone https://git.99rst.org/PROJECT