fix logic error breaking direct mode assistant autocommit of modified files
This commit is contained in:
parent
c1df8eb398
commit
2fdefc656b
1 changed files with 1 additions and 1 deletions
|
@ -84,7 +84,7 @@ changedFileStatus :: Key -> FileStatus -> Annex Bool
|
|||
changedFileStatus key status = do
|
||||
old <- recordedCache key
|
||||
let curr = toCache status
|
||||
return $ curr == old
|
||||
return $ curr /= old
|
||||
|
||||
{- Gets the recorded cache for a key. -}
|
||||
recordedCache :: Key -> Annex (Maybe Cache)
|
||||
|
|
Loading…
Add table
Reference in a new issue