summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar atrent <atrent@web>2015-11-13 07:37:20 +0000
committerGravatar admin <admin@branchable.com>2015-11-13 07:37:20 +0000
commit61bcdc67afaf6ce8da6aa910acc4eb97b8a25bed (patch)
tree6f186fd9e391f62394405febcb98e9cc0b8631ad
parent1d5f68b1c46fe309005768a2c1cc44de29e56c1a (diff)
-rw-r--r--doc/bugs/detox___34__destroys__34___annex.mdwn32
1 files changed, 32 insertions, 0 deletions
diff --git a/doc/bugs/detox___34__destroys__34___annex.mdwn b/doc/bugs/detox___34__destroys__34___annex.mdwn
new file mode 100644
index 000000000..5fe9810ea
--- /dev/null
+++ b/doc/bugs/detox___34__destroys__34___annex.mdwn
@@ -0,0 +1,32 @@
+### Please describe the problem.
+
+I accidentally (my fault!) run detox (batch file renamer to eliminate spaces etc.) on a git-annex dir, alas detox substitutes every "--" with "-", thus "destroying" my annex. Of course the objects are still there, just renamed so that the symlinks are now all broken.
+
+I solved it by copying the objects back from my backup (I have many rsynced backups) since I was too lazy to write a script to rename all the files...
+
+A good solution would be to provide a general script (or there is one already?) to try to recover situations like this one, maybe using shatag to identify data objects.
+
+### What steps will reproduce the problem?
+
+Just run detox -vr (verbose, recursive) on an annex
+
+### What version of git-annex are you using? On what operating system?
+
+5.20150819+g
+
+Linux
+
+### 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
+
+
+# End of transcript or log.
+"""]]
+
+### Have you had any luck using git-annex before? (Sometimes we get tired of reading bug reports all day and a lil' positive end note does wonders)
+
+
+I currently have about a dozen annexes, local and remote (nfs, git), no other big problem apart from lac of speed when syncing