diff options
author | Joey Hess <joey@kitenet.net> | 2014-09-05 13:44:09 -0400 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2014-09-05 13:44:09 -0400 |
commit | 6cade5c9d59566314fe63d30f648dde1abe33a32 (patch) | |
tree | 17e5a54a64dad37d128873b4748b35474b2a46b0 /doc | |
parent | 95c95a78f1d9cf00b7d706691cbee40ba4f21cf8 (diff) |
New annex.hardlink setting. Closes: #758593
* New annex.hardlink setting. Closes: #758593
* init: Automatically detect when a repository was cloned with --shared,
and set annex.hardlink=true, as well as marking the repository as
untrusted.
Had to reorganize Logs.Trust a bit to avoid a cycle between it and
Annex.Init.
Diffstat (limited to 'doc')
-rw-r--r-- | doc/git-annex.mdwn | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/doc/git-annex.mdwn b/doc/git-annex.mdwn index 11e086a8c..224580d97 100644 --- a/doc/git-annex.mdwn +++ b/doc/git-annex.mdwn @@ -1433,6 +1433,19 @@ Here are all the supported configuration settings. commit the data by running `git annex merge` (or by automatic merges) or `git annex sync`. +* `annex.hardlink` + + Set this to `true` to make file contents be hard linked into the + repository when possible, instead of a more expensive copy. + + Use with caution -- This can invalidate numcopies counting, since + with hard links, fewer copies of a file can exist. So, it is a good + idea to mark a repository using this setting as untrusted. + + When a repository is set up using `git clone --shared`, git-annex init + will automatically set annex.hardlink and mark the repository as + untrusted. + * `annex.delayadd` Makes the watch and assistant commands delay for the specified number of |