diff options
author | Joey Hess <joey@kitenet.net> | 2011-12-09 01:57:13 -0400 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2011-12-09 01:57:13 -0400 |
commit | d64132a43ae176e8a1353d5463c5387a93da9ad7 (patch) | |
tree | b98b328a292807c00e4b9590e7cf3094ec176a49 /Command.hs | |
parent | e3f1568e0ff7dc872f3782115c74b9e7d8c291b2 (diff) |
hslint
Diffstat (limited to 'Command.hs')
-rw-r--r-- | Command.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Command.hs b/Command.hs index 0cd0bf491..86a83e30c 100644 --- a/Command.hs +++ b/Command.hs @@ -73,7 +73,7 @@ doCommand = start whenAnnexed :: (FilePath -> (Key, Backend Annex) -> Annex (Maybe a)) -> FilePath -> Annex (Maybe a) whenAnnexed a file = ifAnnexed file (a file) (return Nothing) -ifAnnexed :: FilePath -> ((Key, Backend Annex) -> Annex a) -> (Annex a) -> Annex a +ifAnnexed :: FilePath -> ((Key, Backend Annex) -> Annex a) -> Annex a -> Annex a ifAnnexed file yes no = maybe no yes =<< Backend.lookupFile file notBareRepo :: Annex a -> Annex a |