]> git.ipfire.org Git - thirdparty/git.git/blame - Documentation/git-relink.txt
mailsplit: allow empty input from stdin
[thirdparty/git.git] / Documentation / git-relink.txt
CommitLineData
215a7ad1
JH
1git-relink(1)
2=============
7fc9d69f
JH
3
4NAME
5----
215a7ad1 6git-relink - Hardlink common objects in local repositories.
7fc9d69f
JH
7
8SYNOPSIS
9--------
215a7ad1 10'git-relink' [--safe] <dir> <dir> [<dir>]\*
7fc9d69f
JH
11
12DESCRIPTION
13-----------
52a22d1e
LAS
14This will scan 2 or more object repositories and look for common objects, check
15if they are hardlinked, and replace one with a hardlink to the other if not.
7fc9d69f
JH
16
17OPTIONS
18-------
52a22d1e
LAS
19--safe::
20 Stops if two objects with the same hash exist but have different sizes.
21 Default is to warn and continue.
7fc9d69f 22
52a22d1e
LAS
23<dir>::
24 Directories containing a .git/objects/ subdirectory.
7fc9d69f
JH
25
26Author
27------
28Written by Ryan Anderson <ryan@michonline.com>
29
30Documentation
31--------------
32Documentation by Junio C Hamano and the git-list <git@vger.kernel.org>.
33
34GIT
35---
a7154e91 36Part of the gitlink:git[7] suite
7fc9d69f 37