From: Zachary T Welch Date: Sat, 24 Oct 2009 10:05:41 +0000 (-0700) Subject: Improve .gitignore rules. X-Git-Url: https://git.gag.com/?a=commitdiff_plain;h=89c1bea9310c5ecfe09ba3b544240556160cfbec;p=fw%2Fopenocd 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. --- diff --git a/.gitignore b/.gitignore index c0aba19e7..2c1c536ad 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