bugfix
This commit is contained in:
parent
20b447782a
commit
aaee8e231f
1 changed files with 1 additions and 1 deletions
|
@ -57,7 +57,7 @@ findWanted FilesNotInGit params repo = do
|
||||||
return $ filter notstate $ foldl (++) [] files
|
return $ filter notstate $ foldl (++) [] files
|
||||||
where
|
where
|
||||||
-- never include files in the state directory
|
-- never include files in the state directory
|
||||||
notstate f = f /= take (length stateLoc) f
|
notstate f = stateLoc /= take (length stateLoc) f
|
||||||
findWanted FilesInGit params repo = do
|
findWanted FilesInGit params repo = do
|
||||||
files <- mapM (Git.inRepo repo) params
|
files <- mapM (Git.inRepo repo) params
|
||||||
return $ foldl (++) [] files
|
return $ foldl (++) [] files
|
||||||
|
|
Loading…
Reference in a new issue