summaryrefslogtreecommitdiffstats
path: root/contrib/examples/git-relink.txt
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2017-01-25 23:43:23 +0100
committerJunio C Hamano <gitster@pobox.com>2017-01-25 23:43:23 +0100
commite0ae5b67a804463277ab7398f8d7557133e2c3db (patch)
tree988c50e7811ccba1ef0d528a393b498b276ad4e4 /contrib/examples/git-relink.txt
parentrelink: retire the command (diff)
downloadgit-e0ae5b67a804463277ab7398f8d7557133e2c3db.tar.xz
git-e0ae5b67a804463277ab7398f8d7557133e2c3db.zip
relink: really remove the command
The files in contrib/examples are meant to illustrate "you could combine plumbing commands to implement something like these"; this is an opposite and is an example of what not to do, e.g. accessing the object store directly bypassing Git. Remove it. Suggested-by: Jeff King <peff@peff.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to '')
-rw-r--r--contrib/examples/git-relink.txt30
1 files changed, 0 insertions, 30 deletions
diff --git a/contrib/examples/git-relink.txt b/contrib/examples/git-relink.txt
deleted file mode 100644
index 3b33c99510..0000000000
--- a/contrib/examples/git-relink.txt
+++ /dev/null
@@ -1,30 +0,0 @@
-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