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
|
changedFileStatus key status = do
|
||||||
old <- recordedCache key
|
old <- recordedCache key
|
||||||
let curr = toCache status
|
let curr = toCache status
|
||||||
return $ curr == old
|
return $ curr /= old
|
||||||
|
|
||||||
{- Gets the recorded cache for a key. -}
|
{- Gets the recorded cache for a key. -}
|
||||||
recordedCache :: Key -> Annex (Maybe Cache)
|
recordedCache :: Key -> Annex (Maybe Cache)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue