]> dgit.raspbian.org Git - git-annex.git/commitdiff
(no commit message)
authorbjornw <bjornw@web>
Tue, 2 Nov 2021 23:10:14 +0000 (23:10 +0000)
committeradmin <admin@branchable.com>
Tue, 2 Nov 2021 23:10:14 +0000 (23:10 +0000)
doc/forum/Dropping_checksum_from_URL_key.mdwn [new file with mode: 0644]

diff --git a/doc/forum/Dropping_checksum_from_URL_key.mdwn b/doc/forum/Dropping_checksum_from_URL_key.mdwn
new file mode 100644 (file)
index 0000000..fffbd2d
--- /dev/null
@@ -0,0 +1,9 @@
+I accidentally ran git annex importfeed without using the "--relaxed" option. This means that I know have a great many files in the annex with keys that look like this:
+
+"URL-s108794401--https://media.blubrry.com/thedi-7c04aebc2e18898889af95c74ab3edf0"
+
+The problem is that these keys seem to encode a size ("s108794401"), and when I attempt to fetch them from their URLs, git annex detects that the size has changed. I'd like to convert all such files to instead use a key without a size. For example:
+
+"URL--https://media.blubrry.com/thedi-7c04aebc2e18898889af95c74ab3edf0"
+
+What's the best way to do this? I tried "git annex migrate ... --backend URL" to no avail.