summaryrefslogtreecommitdiff
path: root/doc/walkthrough/fsck__58___when_things_go_wrong.mdwn
diff options
context:
space:
mode:
authorGravatar Joey Hess <joeyh@joeyh.name>2016-03-12 12:57:18 -0400
committerGravatar Joey Hess <joeyh@joeyh.name>2016-03-12 12:57:18 -0400
commitca10c06819aacc50d4423836ce51fc4486803789 (patch)
treee96072aef36f12d28d715fd4b7396d3fea4eef4c /doc/walkthrough/fsck__58___when_things_go_wrong.mdwn
parent024dd384140b25f69defd762e41fd5e4af4f3567 (diff)
rename files containing :
This is mostly to let the repo check out on windows w/o using cygwin's git. But, bash completion is also crap with : , so ..
Diffstat (limited to 'doc/walkthrough/fsck__58___when_things_go_wrong.mdwn')
-rw-r--r--doc/walkthrough/fsck__58___when_things_go_wrong.mdwn13
1 files changed, 13 insertions, 0 deletions
diff --git a/doc/walkthrough/fsck__58___when_things_go_wrong.mdwn b/doc/walkthrough/fsck__58___when_things_go_wrong.mdwn
new file mode 100644
index 000000000..85d9f20fe
--- /dev/null
+++ b/doc/walkthrough/fsck__58___when_things_go_wrong.mdwn
@@ -0,0 +1,13 @@
+Fsck never deletes possibly bad data; instead it will be moved to
+`.git/annex/bad/` for you to recover. Here is a sample of what fsck
+might say about a badly messed up annex:
+
+ # git annex fsck
+ fsck my_cool_big_file (checksum...)
+ git-annex: Bad file content; moved to .git/annex/bad/SHA1:7da006579dd64330eb2456001fd01948430572f2
+ git-annex: ** No known copies exist of my_cool_big_file
+ failed
+ fsck important_file
+ git-annex: Only 1 of 2 copies exist. Run git annex get somewhere else to back it up.
+ failed
+ git-annex: 2 failed