On Mon, Feb 21, 2011 at 10:51 PM, Matthieu Moy
[off-list ref] wrote:
Axel Freyn [off-list ref] writes:
There's also the brute-force approach
rsync $good_repo/.git/objects/ $bad_repo/.git/objects/
cd $bad_repo
git gc
Notice the absence of --delete in the rsync command: I'm just adding
new files in the $bad_repo, not deleting any (since files with
identical names must have identical content).
Thanks. This should be an applicable method. However, before rsyncing,
the pack should be unpacked first.