diff options
author | reisub <reisub@web> | 2014-10-09 20:37:23 +0000 |
---|---|---|
committer | admin <admin@branchable.com> | 2014-10-09 20:37:23 +0000 |
commit | 511394a7a9d008376c43c95d3b4e27e5ee8ee22d (patch) | |
tree | 99d004a1fa2c91c03cbf5aca1dab3c4c4b0473bd | |
parent | 7e831d81f46531c52cfd713bc7911ff850ca3017 (diff) |
-rw-r--r-- | doc/todo/whishlist:_temporary_relinking_to_remotes.mdwn | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/doc/todo/whishlist:_temporary_relinking_to_remotes.mdwn b/doc/todo/whishlist:_temporary_relinking_to_remotes.mdwn new file mode 100644 index 000000000..1c0c55fa9 --- /dev/null +++ b/doc/todo/whishlist:_temporary_relinking_to_remotes.mdwn @@ -0,0 +1,19 @@ +Imagine the following situation: +You have a directory structure like this: + +`./` +`+--dir1` +`|+--file1 (local)` +`|+--file2 (remote1)` +`|+--file3 (remote2)` + +Now when these files are quite big and you need them in one directory temporarily you would need to use `git annex get dir1` to copy them all over to local. This can take some time. + +I whish we had a command like this: +`git annex getlinks dir1` +where git annex would try to not link to the missing local objects but to the remote ones. So there is no need to copy the data around just to use it for a short time. After you are done you could use `git annex resetlinks dir1` to reset the links to the local objects. + +I know that many specialremotes will not support this without much hassle, but it would be cool to be able to get atleast the links from external drives and maybe ssh remotes via sshfs. +To keep the data consistent there can be a constraint that every action (add, sync, commit or others) first issue a `resetlinks`. + +What do you think of that? |