Added a comment: Hashes for files added via addurl
authortomdhunt <tomdhunt@web>
Sat, 16 Jul 2022 20:12:20 +0000 (20:12 +0000)
committeradmin <admin@branchable.com>
Sat, 16 Jul 2022 20:12:20 +0000 (20:12 +0000)
doc/git-annex-addurl/comment_11_a09a85bbabc112369ab661b7ac5f277d._comment [new file with mode: 0644]

diff --git a/doc/git-annex-addurl/comment_11_a09a85bbabc112369ab661b7ac5f277d._comment b/doc/git-annex-addurl/comment_11_a09a85bbabc112369ab661b7ac5f277d._comment
new file mode 100644 (file)
index 0000000..5916786
--- /dev/null
@@ -0,0 +1,10 @@
+[[!comment format=mdwn
+ username="tomdhunt"
+ avatar="http://cdn.libravatar.org/avatar/02694633d0fb05bb89f025cf779218a3"
+ subject="Hashes for files added via addurl"
+ date="2022-07-16T20:12:20Z"
+ content="""
+If you add a file to your repo first via `addurl --fast`, it writes the filename as a symlink to a file that incorporates the URL, rather than the file hash. This is expected, since git-annex can't know the file hash until it's actually downloaded the file.
+
+If you then `git annex get` that file, it downloads the file to the path that uses the URL. Is the hash ever recorded for these files? If you were to drop and re-download the file, would git-annex accept a different file?
+"""]]