PATCH to add .gitignore

Message ID
State New
Headers show

Commit Message

Jason Merrill Jan. 10, 2013, 5:27 p.m.
Apparently a .gitignore file was added to the gdb repository a while 
back, and I think it makes sense for it to be in the gcc repository as 
well.  I made a few edits to avoid ignoring things that are actually 
part of the gcc repository; this isn't strictly necessary, as the ignore 
file only applies to untracked files, but it seems appropriate all the same.

Applying to trunk.


commit 5bef2461a04c1b81f63af91bc2e100e60a0b9bff
Author: Jason Merrill <>
Date:   Wed Jan 9 15:42:50 2013 -0500

    	* .gitignore: Import from gdb repository.

diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..bda55a3
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,42 @@ 
+# ignore core files, but not java/net/protocol/core/
diff --git a/gcc/testsuite/ada/.gitignore b/gcc/testsuite/ada/.gitignore
new file mode 100644
index 0000000..a499072
--- /dev/null
+++ b/gcc/testsuite/ada/.gitignore
@@ -0,0 +1,2 @@ 
+# In the Ada testsuite, .a is an ada source file, not a library.