From 160ae6e17773f0160f135c27728abe0f7a7853fe Mon Sep 17 00:00:00 2001 From: "https://id.koumbit.net/anarcat" Date: Wed, 14 May 2014 15:46:37 +0000 Subject: [PATCH] --- doc/bugs/forget_corrupts_non-ascii_chars.mdwn | 76 +++++++++++++++++++ 1 file changed, 76 insertions(+) create mode 100644 doc/bugs/forget_corrupts_non-ascii_chars.mdwn diff --git a/doc/bugs/forget_corrupts_non-ascii_chars.mdwn b/doc/bugs/forget_corrupts_non-ascii_chars.mdwn new file mode 100644 index 0000000000..5bf99b45c5 --- /dev/null +++ b/doc/bugs/forget_corrupts_non-ascii_chars.mdwn @@ -0,0 +1,76 @@ +### Please describe the problem. + +it seems that `git annex forget --drop-dead --force` will double-encode UTF-8 characters. + +### What steps will reproduce the problem? + +Have a remote with an accent in the description. + +### What version of git-annex are you using? On what operating system? + +5.20140412 on debian jessie amd64. + +### Please provide any additional information below. + +[[!format sh """ +# If you can, paste a complete transcript of the problem occurring here. +# If the problem is with the git-annex assistant, paste in .git/annex/daemon.log +anarcat@marcos:video$ git annex info +repository mode: indirect +trusted repositories: 1 + 5adbab10-0f7a-467b-b0d8-5d7af2223103 -- here (backup (anarcat@marcos:/srv/video)) +semitrusted repositories: 5 + 00000000-0000-0000-0000-000000000001 -- web + 2d594c02-9164-4ebd-ac47-f8cdc9c16e2f -- rachel@topcrapn:~/Vidéos/anarcat + 2f90b958-95e4-44e3-8d3b-e780b63936d1 -- portable (300GB drive labeled VHS) + 96365189-a0b9-4c33-865f-b573d98572dc -- trouneslo@ifuckinglovecumputers:~/video-anarcat + ae3d62e6-49be-4340-ba25-c8736a1637c4 -- anarcat@angela:~/video +untrusted repositories: 1 + f6a70cfe-0ee4-4762-9f1d-b7b545fbd856 -- External hard drive labeled VHS +transfers in progress: none +available local disk space: 14.29 gigabytes (+10 gigabytes reserved) +local annex keys: 4110 +local annex size: 991.85 gigabytes (+ 2 unknown size) +annexed files in working tree: 4108 +size of annexed files in working tree: 1.01 terabytes (+ 2 unknown size) +bloom filter size: 16 mebibytes (0.8% full) +backend usage: + SHA256E: 8214 + URL: 4 +anarcat@marcos:video$ git annex dead f6a70cfe-0ee4-4762-9f1d-b7b545fbd856 +dead f6a70cfe-0ee4-4762-9f1d-b7b545fbd856 ok +(Recording state in git...) +anarcat@marcos:video$ git annex unused +unused . (checking for unused data...) (checking HEAD...) (checking synced/master...) (checking backup/master...) (checking portable/annex/direct/master...) (checking portable/master...) (checking portable/synced/master...) (checking steph/master...) (checking steph/synced/master...) (checking video/synced/master...) ok +anarcat@marcos:video$ git annex forget --drop-dead --force +forget git-annex (Recording state in git...) +ok +(Recording state in git...) +anarcat@marcos:video$ git annex info +repository mode: indirect +trusted repositories: (merging synced/git-annex backup/git-annex backup/synced/git-annex portable/git-annex portable/synced/git-annex steph/git-annex video/synced/git-annex into git-annex...) +(Recording state in git...) +(Recording state in git...) +1 + 5adbab10-0f7a-467b-b0d8-5d7af2223103 -- here (backup (anarcat@marcos:/srv/video)) +semitrusted repositories: 5 + 00000000-0000-0000-0000-000000000001 -- web + 2d594c02-9164-4ebd-ac47-f8cdc9c16e2f -- rachel@topcrapn:~/Vidéos/anarcat + 2f90b958-95e4-44e3-8d3b-e780b63936d1 -- portable (300GB drive labeled VHS) + 96365189-a0b9-4c33-865f-b573d98572dc -- trouneslo@ifuckinglovecumputers:~/video-anarcat + ae3d62e6-49be-4340-ba25-c8736a1637c4 -- anarcat@angela:~/video +untrusted repositories: 0 +transfers in progress: none +available local disk space: 14.25 gigabytes (+10 gigabytes reserved) +local annex keys: 4110 +local annex size: 991.85 gigabytes (+ 2 unknown size) +annexed files in working tree: 4108 +size of annexed files in working tree: 1.01 terabytes (+ 2 unknown size) +bloom filter size: 16 mebibytes (0.8% full) +backend usage: + SHA256E: 8214 + URL: 4 + + +# End of transcript or log. +"""]]