diff options
author | Joey Hess <joeyh@joeyh.name> | 2015-09-14 12:13:38 -0400 |
---|---|---|
committer | Joey Hess <joeyh@joeyh.name> | 2015-09-14 12:13:38 -0400 |
commit | e323354b4ca2a44baae8223b9dd47aaab234a56a (patch) | |
tree | 6d3a7f0ffecd6d8cfe7a4c10cf7136a877d20ce4 /doc | |
parent | 0685f4f87a84396a26433c99300bae8a8aefa1e2 (diff) |
annex.hardlink extended to also try to use hard links when copying from the repository to a remote.
Also, it used to only check that one of the repos was not in direct mode;
now when either repo is direct mode, annex.hardlink won't have an effect.
Diffstat (limited to 'doc')
-rw-r--r-- | doc/git-annex.mdwn | 4 | ||||
-rw-r--r-- | doc/todo/annex.hardlink_should_also_affect_copy_to_origin.mdwn | 2 |
2 files changed, 4 insertions, 2 deletions
diff --git a/doc/git-annex.mdwn b/doc/git-annex.mdwn index a916b74a4..794950d76 100644 --- a/doc/git-annex.mdwn +++ b/doc/git-annex.mdwn @@ -875,8 +875,8 @@ Here are all the supported configuration settings. * `annex.hardlink` - Set this to `true` to make file contents be hard linked into the - repository when possible, instead of a more expensive copy. + Set this to `true` to make file contents be hard linked between the + repository and its remotes 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 diff --git a/doc/todo/annex.hardlink_should_also_affect_copy_to_origin.mdwn b/doc/todo/annex.hardlink_should_also_affect_copy_to_origin.mdwn index bee099312..d79c13f92 100644 --- a/doc/todo/annex.hardlink_should_also_affect_copy_to_origin.mdwn +++ b/doc/todo/annex.hardlink_should_also_affect_copy_to_origin.mdwn @@ -3,3 +3,5 @@ repository when eg `git annex copy --from origin`. This should also be done when copying files --to origin (or other remotes on the same filesystem). This way, a quick shared clone can be used to add/modify files, and cheaply send the changes back to the parent repo. --[[Joey]] + +> [[done]] --[[Joey]] |