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.
---
 .gitignore |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diff --git a/.gitignore b/.gitignore
index c0aba19..2c1c536 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
 
-- 
1.6.3.3

_______________________________________________
Openocd-development mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/openocd-development

Reply via email to