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.
This commit is contained in:
Joey Hess 2015-09-14 12:13:38 -04:00
parent c5260f5cb0
commit ffa8221517
4 changed files with 31 additions and 18 deletions

View file

@ -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]]