diff options
author | Joey Hess <joey@kitenet.net> | 2011-03-16 11:53:46 -0400 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2011-03-16 11:53:46 -0400 |
commit | 5eb76d2b033436973e0732215fa9d0227a2187bf (patch) | |
tree | 8df6807f474224d3635229f460ef7ec43fde98c6 /Command/Uninit.hs | |
parent | 744638197f51811fca13a37c7bbc51dfb626793b (diff) |
improve upgrade
Diffstat (limited to 'Command/Uninit.hs')
-rw-r--r-- | Command/Uninit.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Command/Uninit.hs b/Command/Uninit.hs index e9406ce3a..e8ac1bbd5 100644 --- a/Command/Uninit.hs +++ b/Command/Uninit.hs @@ -60,4 +60,4 @@ gitAttributesUnWrite repo = do when attrexists $ do c <- readFileStrict attributes safeWriteFile attributes $ unlines $ - filter (/= Command.Init.attrLine) $ lines c + filter (\l -> not $ l `elem` Command.Init.attrLines) $ lines c |