fetch: remove .keep files
The .keep files for packs were never being removed, resulting in all pack
files never being cleaned up by git gc.
Referring to Gitoxide[0][1], the same idea for removing the .keep file is
applied when performing write_pack.
Signed-off-by: Fintan Halpenny fintan.halpenny@gmail.com X-Clacks-Overhead: GNU Terry Pratchett
The .keep files for packs were never being removed, resulting in all pack
files never being cleaned up by git gc.
Referring to Gitoxide[0][1], the same idea for removing the .keep file is
applied when performing write_pack.
Signed-off-by: Fintan Halpenny fintan.halpenny@gmail.com X-Clacks-Overhead: GNU Terry Pratchett
No GiHub Actions Workflows found.
Changes:
- Use
Keepfiletype to implementDropsemantics for removing.keepfiles - Adds a check to an existing test to ensure that semantics are correct
Changes:
- simplify extension check
- fix documentation typo
Rebase.