summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2011-09-20 23:26:35 -0400
committerGravatar Joey Hess <joey@kitenet.net>2011-09-20 23:26:35 -0400
commit6dc23b889e01d56a7aff241f9b7e347dd55cfc47 (patch)
treedc3ddaf80b5702444ebff58d1f39109b0d00c7a4
parent9f6b7935ddb3d5dcbe0b4b784dc8acd7288ddba6 (diff)
one more hlint
-rw-r--r--Branch.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Branch.hs b/Branch.hs
index 5008b2e20..15681e699 100644
--- a/Branch.hs
+++ b/Branch.hs
@@ -331,7 +331,7 @@ getJournalFilesRaw = do
g <- Annex.gitRepo
fs <- liftIO $ catch (getDirectoryContents $ gitAnnexJournalDir g)
(const $ return [])
- return $ filter (\f -> f /= "." && f /= "..") fs
+ return $ filter (`notElem` [".", ".."]) fs
{- Stages all journal files into the index, and returns True if the index
- was modified. -}