gitignore: More specific ignore patterns
authormarkus schnalke <meillo@marmaro.de>
Wed, 29 Apr 2015 04:47:13 +0000 (06:47 +0200)
committermarkus schnalke <meillo@marmaro.de>
Wed, 29 Apr 2015 04:47:13 +0000 (06:47 +0200)
I frequently make temporary backups this way:
cp uip/foo.c uip/foo.c.1
These files were ignored, although this ignore filter was meant
for the created man pages in section 1 only.

.gitignore

index b9250e0..d7aa3f5 100644 (file)
@@ -9,19 +9,26 @@
 /stamp-h
 /stamp-h.in
 /config/Makefile
+/config/*.o
 /config/version.c
 /docs/Makefile
 /etc/Makefile
 /h/Makefile
 /man/Makefile
+/man/*.1
+/man/*.5
+/man/*.7
+/man/*.8
 /man/man.sed
 /man/mh-chart.man7
 /sbr/Makefile
+/sbr/*.o
 /sbr/dtimep.c
 /sbr/libmh.a
 /sbr/sigmsg.h
 /test/test-temp-dir
 /uip/Makefile
+/uip/*.o
 /uip/ali
 /uip/anno
 /uip/ap
@@ -75,9 +82,4 @@
 /uip/spost
 /uip/whatnow
 /uip/whom
-*.o
-*.1
-*.5
-*.7
-*.8
 /mmh-*.tar.gz