Skip to content

Commit

Permalink
git-relink.txt: describe more clearly how hard linking occurs
Browse files Browse the repository at this point in the history
Signed-off-by: Brandon Casey <casey@nrlssc.navy.mil>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
  • Loading branch information
Brandon Casey authored and Junio C Hamano committed Jan 12, 2008
1 parent 80cd9cf commit d3c2d9e
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions Documentation/git-relink.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,13 @@ git-relink - Hardlink common objects in local repositories

SYNOPSIS
--------
'git-relink' [--safe] <dir> <dir> [<dir>]\*
'git-relink' [--safe] <dir> [<dir>]\* <master_dir>

DESCRIPTION
-----------
This will scan 2 or more object repositories and look for common objects, check
if they are hardlinked, and replace one with a hardlink to the other if not.
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
-------
Expand Down

0 comments on commit d3c2d9e

Please sign in to comment.