1
0
Fork 0
mirror of https://github.com/git/git.git synced 2024-06-08 04:16:26 +02:00
git/contrib/examples/git-relink.txt
Johannes Schindelin ed21e30fef relink: retire the command
Back in the olden days, when all objects were loose and rubber boots were
made out of wood, it made sense to try to share (immutable) objects
between repositories.

Ever since the arrival of pack files, it is but an anachronism.

Let's move the script to the contrib/examples/ directory and no longer
offer it.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
2017-01-25 14:42:37 -08:00

31 lines
649 B
Plaintext

git-relink(1)
=============
NAME
----
git-relink - Hardlink common objects in local repositories
SYNOPSIS
--------
[verse]
'git relink' [--safe] <dir>... <master_dir>
DESCRIPTION
-----------
This will scan 1 or more object repositories and look for objects in common
with a master repository. Objects not already hardlinked to the master
repository will be replaced with a hardlink to the master repository.
OPTIONS
-------
--safe::
Stops if two objects with the same hash exist but have different sizes.
Default is to warn and continue.
<dir>::
Directories containing a .git/objects/ subdirectory.
GIT
---
Part of the linkgit:git[1] suite