assistant: Ignore .DS_Store on OSX.

This commit is contained in:
Joey Hess 2013-01-28 15:13:22 +11:00
parent 981dbc02f5
commit a8bb2749b2
3 changed files with 11 additions and 1 deletions

View file

@ -5,7 +5,7 @@
- Licensed under the GNU GPL version 3 or higher.
-}
{-# LANGUAGE DeriveDataTypeable #-}
{-# LANGUAGE DeriveDataTypeable CPP #-}
module Assistant.Threads.Watcher (
watchThread,
@ -146,6 +146,9 @@ ignored = ig . takeFileName
ig ".git" = True
ig ".gitignore" = True
ig ".gitattributes" = True
#ifdef darwin_HOST_OS
ig ".DS_Store" = True
#endif
ig _ = False
type Handler = FilePath -> Maybe FileStatus -> Assistant (Maybe Change)