summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZachary T Welch <zw@superlucidity.net>2009-10-24 03:05:41 -0700
committerZachary T Welch <zw@superlucidity.net>2009-10-27 23:20:24 -0700
commit89c1bea9310c5ecfe09ba3b544240556160cfbec (patch)
treec6968d0fd8e24d1f45bdb6757dcf5effbc4f70cf
parent76afa936ba4bfa5a5780dbad562c6637c252524b (diff)
downloadopenocd+libswd-89c1bea9310c5ecfe09ba3b544240556160cfbec.tar.gz
openocd+libswd-89c1bea9310c5ecfe09ba3b544240556160cfbec.tar.bz2
openocd+libswd-89c1bea9310c5ecfe09ba3b544240556160cfbec.tar.xz
openocd+libswd-89c1bea9310c5ecfe09ba3b544240556160cfbec.zip
Improve .gitignore rules.
A '.*' rule prevents the 'git submodule add' from correctly adding the first submodule, because it creates the .gitmodule file. This file will not be added (without -f) result in incomplete submodule commits. The new rules mask the specific files present in my own build tree, but additional rules may be needed to hide other types of temporary files.
-rw-r--r--.gitignore6
1 files changed, 5 insertions, 1 deletions
diff --git a/.gitignore b/.gitignore
index c0aba19e..2c1c536a 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,13 +1,17 @@
# stuff "git status" should ignore
# build output
-.*
+.libs
+.deps
*.o
*.a
*.lo
*.la
*.in
+# editor files
+*.swp
+
startup_tcl.c
xscale_debug.h