This commit is contained in:
robert.schuetz@7942237bf71a2ae4f5d3cb047d167612b8c9e311 2017-12-09 11:50:53 +00:00 committed by admin
parent 99c6830f84
commit f750f261af

View file

@ -1,26 +0,0 @@
[[!comment format=mdwn
username="robert.schuetz@7942237bf71a2ae4f5d3cb047d167612b8c9e311"
nickname="robert.schuetz"
avatar="http://cdn.libravatar.org/avatar/89879460a9e84b9c736d982d9489d3d9"
subject="comment 3"
date="2017-12-09T11:50:24Z"
content="""
I'm adding a file and later want to add a URL, that doesn't give a Content-Length header, to the file.
It is essantially the following:
mkdir test
cd test
git init
git annex init
wget http://web.archive.org/web/20171117120847/https://downloads.kitenet.net/videos/git-annex/git-annex_views_demo.ogg
git annex add
git annex addurl \"http://web.archive.org/web/20171117120847/https://downloads.kitenet.net/videos/git-annex/git-annex_views_demo.ogg\" --file git-annex_views_demo.ogg
and the last command gives me the result
addurl git-annex_views_demo.ogg
while adding a new url to an already annexed file, url does not have expected file size (use --relaxed to bypass this check) http://web.archive.org/web/20171117120847/https://downloads.kitenet.net/videos/git-annex/git-annex_views_demo.ogg
failed
git-annex: addurl: 1 failed
"""]]