aboutsummaryrefslogtreecommitdiff
path: root/doc/todo/make_addurl_respect_annex.largefiles_option/comment_5_16390f75b3685df93f18a89e7cb56757._comment
blob: 3f362489bd6bc853dbff6d5756f9c003a21ed3b9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
[[!comment format=mdwn
 username="https://me.yahoo.com/a/EbvxpTI_xP9Aod7Mg4cwGhgjrCrdM5s-#7c0f4"
 subject=""done" but only for non --fast/--relaxed"
 date="2016-01-13T23:49:30Z"
 content="""
ah -- didn't spot that it was \"done\" (didn't see a notification on it being resolved in invoice or emails)

unfortunately it seems to not work for --fast (or --relaxed, although that one I guess I can understand):

[[!format sh \"\"\"

$ chmod a+w -R /tmp/123; rm -rf /tmp/123; mkdir /tmp/123; cd /tmp/123; git init; git annex init;
Initialized empty Git repository in /tmp/123/.git/
init  ok
(recording state in git...)

$ git -c annex.largefiles=exclude=*.txt annex addurl --file=test.txt --fast \"http://www.onerussian.com/tmp/banner.png\"
addurl test.txt ok                                                   
(recording state in git...)

$ ls -l test.txt
lrwxrwxrwx 1 yoh yoh 132 Jan 13 18:44 test.txt -> .git/annex/objects/KW/kj/URL-s25319--http&c%%www.onerussian.com%tmp%banner.png/URL-s25319--http&c%%www.onerussian.com%tmp%banner.png

\"\"\"]]

it does for if no --fast, or --relaxed
"""]]