Re: [PATCH] Use GIT_OBJECT_DIR for temporary files of pack-objects
- From
- Dana How <danahow@gmail.com>
- Date
- May 7, 2007, 17:51 UTC
- Message-ID
- <56b7f5510705071051l75d701d7r94b7c4629cc425f@mail.gmail.com>
- In-Reply-To
- <20070507173324.GA3436@steel.home>
On 5/7/07, Alex Riesen <raa.lkml@gmail.com> wrote:
> I'm not sure about fsck cleaning up after crashed/killed pack-objects: > not sure I _can_ detect if the temp files really are just leftovers.
It looks like you create temp file in objects , not objects/pack .
So a rule could be : packs left in the former are crashed/killed, and packs in the latter are complete?
You should also look at $PACKTMP in git-repack.sh . In it $GIT_DIR should probably be $GIT_OBJECT_DIRECTORY ?
Junio: This patch touches the same lines as the --max-pack-size patch. What do you want to do with the latter?
Thanks,
-- Dana L. How danahow@gmail.com +1 650 804 5991 cell