tweak fsck wording so file is at the end of the line
This commit is contained in:
parent
c4cc6ee42f
commit
e3384eb476
2 changed files with 3 additions and 3 deletions
|
@ -205,14 +205,14 @@ checkKeyNumCopies key file numcopies = do
|
||||||
|
|
||||||
missingNote :: String -> Int -> Int -> String -> String
|
missingNote :: String -> Int -> Int -> String -> String
|
||||||
missingNote file 0 _ [] =
|
missingNote file 0 _ [] =
|
||||||
"** No known copies of " ++ file ++ " exist!"
|
"** No known copies exist of " ++ file
|
||||||
missingNote file 0 _ untrusted =
|
missingNote file 0 _ untrusted =
|
||||||
"Only these untrusted locations may have copies of " ++ file ++
|
"Only these untrusted locations may have copies of " ++ file ++
|
||||||
"\n" ++ untrusted ++
|
"\n" ++ untrusted ++
|
||||||
"Back it up to trusted locations with git-annex copy."
|
"Back it up to trusted locations with git-annex copy."
|
||||||
missingNote file present needed [] =
|
missingNote file present needed [] =
|
||||||
"Only " ++ show present ++ " of " ++ show needed ++
|
"Only " ++ show present ++ " of " ++ show needed ++
|
||||||
" trustworthy copies of " ++ file ++ " exist." ++
|
" trustworthy copies exist of " ++ file ++
|
||||||
"\nBack it up with git-annex copy."
|
"\nBack it up with git-annex copy."
|
||||||
missingNote file present needed untrusted =
|
missingNote file present needed untrusted =
|
||||||
missingNote file present needed [] ++
|
missingNote file present needed [] ++
|
||||||
|
|
|
@ -5,7 +5,7 @@ might say about a badly messed up annex:
|
||||||
# git annex fsck
|
# git annex fsck
|
||||||
fsck my_cool_big_file (checksum...)
|
fsck my_cool_big_file (checksum...)
|
||||||
git-annex: Bad file content; moved to .git/annex/bad/SHA1:7da006579dd64330eb2456001fd01948430572f2
|
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
|
failed
|
||||||
fsck important_file
|
fsck important_file
|
||||||
git-annex: Only 1 of 2 copies exist. Run git annex get somewhere else to back it up.
|
git-annex: Only 1 of 2 copies exist. Run git annex get somewhere else to back it up.
|
||||||
|
|
Loading…
Reference in a new issue