]> git.ipfire.org Git - thirdparty/git.git/blame - Documentation/git-relink.txt
remote-ext: do not segfault for blank lines
[thirdparty/git.git] / Documentation / git-relink.txt
CommitLineData
215a7ad1
JH
1git-relink(1)
2=============
7fc9d69f
JH
3
4NAME
5----
7bd7f280 6git-relink - Hardlink common objects in local repositories
7fc9d69f
JH
7
8SYNOPSIS
9--------
0adda936 10'git relink' [--safe] <dir>... <master_dir>
7fc9d69f
JH
11
12DESCRIPTION
13-----------
d3c2d9e5
BC
14This will scan 1 or more object repositories and look for objects in common
15with a master repository. Objects not already hardlinked to the master
16repository will be replaced with a hardlink to the master repository.
7fc9d69f
JH
17
18OPTIONS
19-------
52a22d1e
LAS
20--safe::
21 Stops if two objects with the same hash exist but have different sizes.
22 Default is to warn and continue.
7fc9d69f 23
52a22d1e
LAS
24<dir>::
25 Directories containing a .git/objects/ subdirectory.
7fc9d69f
JH
26
27Author
28------
29Written by Ryan Anderson <ryan@michonline.com>
30
31Documentation
32--------------
33Documentation by Junio C Hamano and the git-list <git@vger.kernel.org>.
34
35GIT
36---
9e1f0a85 37Part of the linkgit:git[1] suite