diff options
author | Joey Hess <joey@kitenet.net> | 2011-06-23 19:56:24 -0400 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2011-06-23 19:56:24 -0400 |
commit | e3384eb4764787daef926c307004d001e224a9fd (patch) | |
tree | b4d8838d979b41878169b868b39e2d82d920812c | |
parent | c4cc6ee42f63bb8196f44608aaf35f7f9f411fe1 (diff) |
tweak fsck wording so file is at the end of the line
-rw-r--r-- | Backend/File.hs | 4 | ||||
-rw-r--r-- | doc/walkthrough/fsck:_when_things_go_wrong.mdwn | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/Backend/File.hs b/Backend/File.hs index 675b48307..1c25f89db 100644 --- a/Backend/File.hs +++ b/Backend/File.hs @@ -205,14 +205,14 @@ checkKeyNumCopies key file numcopies = do missingNote :: String -> Int -> Int -> String -> String missingNote file 0 _ [] = - "** No known copies of " ++ file ++ " exist!" + "** No known copies exist of " ++ file missingNote file 0 _ untrusted = "Only these untrusted locations may have copies of " ++ file ++ "\n" ++ untrusted ++ "Back it up to trusted locations with git-annex copy." missingNote file present needed [] = "Only " ++ show present ++ " of " ++ show needed ++ - " trustworthy copies of " ++ file ++ " exist." ++ + " trustworthy copies exist of " ++ file ++ "\nBack it up with git-annex copy." missingNote file present needed untrusted = missingNote file present needed [] ++ diff --git a/doc/walkthrough/fsck:_when_things_go_wrong.mdwn b/doc/walkthrough/fsck:_when_things_go_wrong.mdwn index 05b9f385c..85d9f20fe 100644 --- a/doc/walkthrough/fsck:_when_things_go_wrong.mdwn +++ b/doc/walkthrough/fsck:_when_things_go_wrong.mdwn @@ -5,7 +5,7 @@ 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 of the file exist! + 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. |