Patchwork PATCH to add .gitignore

login
register
mail settings
Submitter Jason Merrill
Date Jan. 10, 2013, 5:27 p.m.
Message ID <50EEF9F1.6050805@redhat.com>
Download mbox | patch
Permalink /patch/211101/
State New
Headers show

Comments

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.

Patch

commit 5bef2461a04c1b81f63af91bc2e100e60a0b9bff
Author: Jason Merrill <jason@redhat.com>
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 @@ 
+*.diff
+*.patch
+*.orig
+*.rej
+
+*~
+.#*
+*#
+
+*.flt
+*.gmo
+*.info
+*.la
+*.lo
+*.o
+*.pyc
+*.tmp
+
+.deps
+.libs
+
+autom4te.cache
+config.cache
+config.h
+config.intl
+config.log
+config.status
+libtool
+POTFILES
+*-POTFILES
+
+TAGS
+TAGS.sub
+
+.gdbinit
+.gdb_history
+
+# ignore core files, but not java/net/protocol/core/
+core
+!core/
+
+lost+found
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.
+!*.a