commit logs at end; faster
This commit is contained in:
parent
bb6707020d
commit
335c06171a
3 changed files with 14 additions and 16 deletions
|
@ -116,6 +116,8 @@ checkRemoveKey key = do
|
|||
then retNotEnoughCopiesKnown remotes numcopies
|
||||
else findcopies numcopies remotes []
|
||||
where
|
||||
config = "annex.numcopies"
|
||||
|
||||
findcopies 0 _ _ = return True -- success, enough copies found
|
||||
findcopies _ [] bad = notEnoughCopiesSeen bad
|
||||
findcopies n (r:rs) bad = do
|
||||
|
@ -151,5 +153,3 @@ checkRemoveKey key = do
|
|||
showLongNote $ "According to the " ++ config ++
|
||||
" setting, it is not safe to remove it!"
|
||||
showLongNote "(Use --force to override.)"
|
||||
|
||||
config = "annex.numcopies"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue