Re: [PATCH v3 16/21] repack: handle optional files created by pack-objects

2013-12-07 Thread Thomas Rast
Jeff King p...@peff.net writes: We ask pack-objects to pack to a set of temporary files, and then rename them into place. Some files that pack-objects creates may be optional (like a .bitmap file), in which case we would not want to call rename(). We already call stat() and make the chmod

[PATCH v3 16/21] repack: handle optional files created by pack-objects

2013-11-14 Thread Jeff King
We ask pack-objects to pack to a set of temporary files, and then rename them into place. Some files that pack-objects creates may be optional (like a .bitmap file), in which case we would not want to call rename(). We already call stat() and make the chmod optional if the file cannot be accessed.