Android: Adjust default .gitignore to ignore .thumbnails at any location in the tree, not just at its top.

This commit is contained in:
Joey Hess 2013-11-16 18:48:16 -04:00
parent 31260aa920
commit f35cc2d4ba
3 changed files with 5 additions and 1 deletions

View file

@ -168,7 +168,7 @@ getAndroidCameraRepositoryR =
where
addignore = do
liftIO $ unlessM (doesFileExist ".gitignore") $
writeFile ".gitignore" ".thumbnails/*"
writeFile ".gitignore" ".thumbnails"
void $ inRepo $
Git.Command.runBool [Param "add", File ".gitignore"]