Junio C Hamano | 215a7ad | 2005-09-07 17:26:23 -0700 | [diff] [blame] | 1 | git-relink(1) |
| 2 | ============= |
Junio C Hamano | 7fc9d69 | 2005-08-23 01:49:47 -0700 | [diff] [blame] | 3 | |
| 4 | NAME |
| 5 | ---- |
Fredrik Kuivinen | 7bd7f28 | 2006-03-09 17:24:50 +0100 | [diff] [blame] | 6 | git-relink - Hardlink common objects in local repositories |
Junio C Hamano | 7fc9d69 | 2005-08-23 01:49:47 -0700 | [diff] [blame] | 7 | |
| 8 | SYNOPSIS |
| 9 | -------- |
Jonathan Nieder | b1889c3 | 2008-06-30 01:09:04 -0500 | [diff] [blame] | 10 | 'git relink' [--safe] <dir> [<dir>]\* <master_dir> |
Junio C Hamano | 7fc9d69 | 2005-08-23 01:49:47 -0700 | [diff] [blame] | 11 | |
| 12 | DESCRIPTION |
| 13 | ----------- |
Brandon Casey | d3c2d9e | 2008-01-11 12:14:19 -0600 | [diff] [blame] | 14 | This will scan 1 or more object repositories and look for objects in common |
| 15 | with a master repository. Objects not already hardlinked to the master |
| 16 | repository will be replaced with a hardlink to the master repository. |
Junio C Hamano | 7fc9d69 | 2005-08-23 01:49:47 -0700 | [diff] [blame] | 17 | |
| 18 | OPTIONS |
| 19 | ------- |
A Large Angry SCM | 52a22d1 | 2005-08-26 18:18:48 -0700 | [diff] [blame] | 20 | --safe:: |
| 21 | Stops if two objects with the same hash exist but have different sizes. |
| 22 | Default is to warn and continue. |
Junio C Hamano | 7fc9d69 | 2005-08-23 01:49:47 -0700 | [diff] [blame] | 23 | |
A Large Angry SCM | 52a22d1 | 2005-08-26 18:18:48 -0700 | [diff] [blame] | 24 | <dir>:: |
| 25 | Directories containing a .git/objects/ subdirectory. |
Junio C Hamano | 7fc9d69 | 2005-08-23 01:49:47 -0700 | [diff] [blame] | 26 | |
| 27 | Author |
| 28 | ------ |
| 29 | Written by Ryan Anderson <ryan@michonline.com> |
| 30 | |
| 31 | Documentation |
| 32 | -------------- |
| 33 | Documentation by Junio C Hamano and the git-list <git@vger.kernel.org>. |
| 34 | |
| 35 | GIT |
| 36 | --- |
Christian Couder | 9e1f0a8 | 2008-06-06 09:07:32 +0200 | [diff] [blame] | 37 | Part of the linkgit:git[1] suite |