diff options
author | Joey Hess <joeyh@joeyh.name> | 2015-03-05 13:50:15 -0400 |
---|---|---|
committer | Joey Hess <joeyh@joeyh.name> | 2015-03-05 13:50:15 -0400 |
commit | f3958ecd07765975e4ea3d500cdc9694ad595d5e (patch) | |
tree | feac52e85c2809dbb85de05496c87ecd767adcc8 /doc/special_remotes/external | |
parent | c80bd8d1c3993312dd36888d81bd80b48584fb2d (diff) |
Added SETURIPRESENT and SETURIMISSING to external special remote protocol
Useful for things like ipfs that don't use regular urls.
An external special remote can add a regular url to a key, and then
git-annex get will download it from the web. But for ipfs, we want to
instead tell git-annex that the uri uses OtherDownloader. Before this
change, the external special remote protocol lacked a way to do that.
Diffstat (limited to 'doc/special_remotes/external')
-rwxr-xr-x | doc/special_remotes/external/git-annex-remote-ipfs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/special_remotes/external/git-annex-remote-ipfs b/doc/special_remotes/external/git-annex-remote-ipfs index fc91aefc8..c8d97ef5c 100755 --- a/doc/special_remotes/external/git-annex-remote-ipfs +++ b/doc/special_remotes/external/git-annex-remote-ipfs @@ -89,7 +89,7 @@ while read line; do if [ -z "$addr" ]; then echo TRANSFER-FAILURE STORE "$key" "ipfs add failed" else - echo "SETURLPRESENT" "$key" "$(addresstourl "$addr")" + echo "SETURIPRESENT" "$key" "$(addresstourl "$addr")" echo TRANSFER-SUCCESS STORE "$key" fi ;; |