]> git.ipfire.org Git - thirdparty/git.git/commit - git-repack.sh
Make the name of a pack-file depend on the objects packed there-in.
authorLinus Torvalds <torvalds@g5.osdl.org>
Sun, 3 Jul 2005 22:34:04 +0000 (15:34 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Sun, 3 Jul 2005 22:34:04 +0000 (15:34 -0700)
commit5f3de58ff85c49620ae2a1722d8d4d37c881a054
tree2e5e2af01f66371e743eee0fefd4573d5ef6609e
parent2396ec85bd167b87e21edbd3a64d46eeb19d6a5d
Make the name of a pack-file depend on the objects packed there-in.

This means that the .git/objects/pack directory is also rsync'able,
since the filenames created there-in are either unique or refer to the
same data.

Otherwise you might not be able to pull from a directory that is partly
packed without having to worry about missing objects due to pack-file
name clashes.
git-repack-script
pack-objects.c