]> git.ipfire.org Git - thirdparty/git.git/commit - git-relink.perl
[PATCH] Add git-relink-script to fix up missing hardlinks
authorRyan Anderson <ryan@michonline.com>
Sun, 26 Jun 2005 18:15:16 +0000 (14:15 -0400)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Sun, 26 Jun 2005 20:11:59 +0000 (13:11 -0700)
commit102fc37f3b3d213841d4cff47a75d385824a3027
tree6d500c6c6fd4fa055fb9440c183337764e90dffe
parent042a4ed7c51f909fa53a8fa2f1024a1938812f27
[PATCH] Add git-relink-script to fix up missing hardlinks

This will scan 2 or more object repositories and look for common objects, check
if they are hardlinked, and replace one with a hardlink to the other if not.

This version warns when skipping files because of size differences, and
handle more than 2 repositories automatically.

Signed-off-by: Ryan Anderson <ryan@michonline.com>
Cheered-on-by: Jeff Garzik <jgarzik@pobox.com>
Acked-by: Junio C Hamano <junkio@cox.net>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Makefile
git-relink-script [new file with mode: 0644]