summaryrefslogtreecommitdiffstats
path: root/crawl-ref/.gitignore
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/.gitignore')
-rw-r--r--crawl-ref/.gitignore62
1 files changed, 35 insertions, 27 deletions
diff --git a/crawl-ref/.gitignore b/crawl-ref/.gitignore
index 0f77e83e1d..3dc93c1b27 100644
--- a/crawl-ref/.gitignore
+++ b/crawl-ref/.gitignore
@@ -1,53 +1,61 @@
+# vim:ft=conf
+# The above comment makes vim treat this file as a configuration file
+
*.[oa]
*.ann
-*.diff
*.DS_Store
-saves
-morgue
-*.orig
-*.rej
-*.swp
core
core.*
-*.map
err.txt
-map.dump
-mapgen.log
+TAGS
+
+# Patch related junk
+*.diff
+*.orig
+*.rej
+
+# Text editor generated junk (backup files and such)
+DEADJOE
\#*
.#*
*~
-TAGS
-DEADJOE
+# Vim can generate extra swap files for the same file
+*.sw[nop]
+# Crawl generated junk
arena.result
-
-makefile.dep
+saves
+morgue
+*.map
+map.dump
+mapgen.log
# Tile copied files
-source/dat/tiles/dngn.png
-source/dat/tiles/main.png
-source/dat/tiles/player.png
-source/dat/tiles/gui.png
+/source/dat/tiles/dngn.png
+/source/dat/tiles/main.png
+/source/dat/tiles/player.png
+/source/dat/tiles/gui.png
# Makefile-generated junk
-source/.contrib-ok
+makefile.dep
+/source/.contrib-ok
# The Crawl executable.
-source/crawl
-source/crawl.exe
-source/crawl.pdb
+/source/crawl
+/source/crawl.exe
+/source/crawl.pdb
# Level-compiler generated files.
-source/util/*.cc
-source/util/*.h
+/source/util/*.cc
+/source/util/*.h
# Generated by ./dolinks.sh
-WIZARD
-NORMAL
-dat
+/WIZARD/
+/NORMAL/
+/dat
# Xcode cruft
-source/build
+/source/build
*.pbxuser
*.perspectivev3
*.mode1v3