[[!comment format=mdwn
 username="joey"
 subject="""comment 14"""
 date="2021-06-28T18:28:06Z"
 content="""
To avoid moving the pack files, repair could set `GIT_OBJECT_DIRECTORY`
to a temp directory, and copy each pack file into it in turn, and unpack.
And after each unpack, move the unpacked objects from the temp directory to
the real object directory, followed by deleting the pack file (in case it's
corrupt).
"""]]
