2005-09-08 08:26:23 +08:00
|
|
|
git-relink(1)
|
|
|
|
=============
|
2005-08-23 16:49:47 +08:00
|
|
|
|
|
|
|
NAME
|
|
|
|
----
|
2005-09-08 08:26:23 +08:00
|
|
|
git-relink - Hardlink common objects in local repositories.
|
2005-08-23 16:49:47 +08:00
|
|
|
|
|
|
|
SYNOPSIS
|
|
|
|
--------
|
2005-09-08 08:26:23 +08:00
|
|
|
'git-relink' [--safe] <dir> <dir> [<dir>]\*
|
2005-08-23 16:49:47 +08:00
|
|
|
|
|
|
|
DESCRIPTION
|
|
|
|
-----------
|
2005-08-27 09:18:48 +08:00
|
|
|
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.
|
2005-08-23 16:49:47 +08:00
|
|
|
|
|
|
|
OPTIONS
|
|
|
|
-------
|
2005-08-27 09:18:48 +08:00
|
|
|
--safe::
|
|
|
|
Stops if two objects with the same hash exist but have different sizes.
|
|
|
|
Default is to warn and continue.
|
2005-08-23 16:49:47 +08:00
|
|
|
|
2005-08-27 09:18:48 +08:00
|
|
|
<dir>::
|
|
|
|
Directories containing a .git/objects/ subdirectory.
|
2005-08-23 16:49:47 +08:00
|
|
|
|
|
|
|
Author
|
|
|
|
------
|
|
|
|
Written by Ryan Anderson <ryan@michonline.com>
|
|
|
|
|
|
|
|
Documentation
|
|
|
|
--------------
|
|
|
|
Documentation by Junio C Hamano and the git-list <git@vger.kernel.org>.
|
|
|
|
|
|
|
|
GIT
|
|
|
|
---
|
2005-09-19 18:10:51 +08:00
|
|
|
Part of the gitlink:git[7] suite
|
2005-08-23 16:49:47 +08:00
|
|
|
|