summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Types/UrlContents.hs1
1 files changed, 1 insertions, 0 deletions
diff --git a/Types/UrlContents.hs b/Types/UrlContents.hs
index d6dee120b..2085aebfa 100644
--- a/Types/UrlContents.hs
+++ b/Types/UrlContents.hs
@@ -39,6 +39,7 @@ mkSafeFilePath p = SafeFilePath $ if null p' then "file" else p'
safe s
| isDrive s = False
| s == ".." = False
+ | s == ".git" = False
| null s = False
| otherwise = True