Skip to contentSkip to conversation

Ignore section 5 man pages

PATCH In review Brian Gernhardt 2 participants 3 messages Jun 15, 2016 Documentation

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Ignore section 5 man pages

We now have a gitattributes(5) file, so let git ignore that just like all the other man pages.

---

 Documentation/.gitignore |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
Documentation/.gitignore +1 -0
index b98d21e..d067481 100644
@@ -1,6 +1,7 @@
 *.xml
 *.html
 *.1
+*.5
 *.7
 *.made
 howto-index.txt
Signature · 1 line
1.5.2.rc0.1.g2cc31
#1 lore raw
Quoted 14 lines · Brian Gernhardt

We now have a gitattributes(5) file, so let git ignore that just like all the other man pages.

---

 Documentation/.gitignore |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
Documentation/.gitignore +0 -0
index b98d21e..d067481 100644

Documentation/.gitignore line 7

Quoted 7 lines
Documentation/.gitignore +1 -0
@@ -1,6 +1,7 @@
 *.xml
 *.html
 *.1
+*.5
 *.7
 *.made
 howto-index.txt

We can't just add *.[1-8] to the list?

-hpa

#2 lore raw

PATCH 1/1 Ignore all man sections.

We added gitattributes(5), which should now be ignored. While we're at it, ignore all man sections 1-8.

---

Quoted 8 lines · H. Peter Anvin
Quoted 3 lines · Brian Gernhardt

We now have a gitattributes(5) file, so let git ignore that just like all the other man pages.

We can't just add *.[1-8] to the list?

-hpa

Indeed we can. But that would make sense.

 Documentation/.gitignore |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)
Documentation/.gitignore +1 -2
index b98d21e..a37b215 100644
@@ -1,7 +1,6 @@
 *.xml
 *.html
-*.1
-*.7
+*.[1-8]
 *.made
 howto-index.txt
 doc.dep
Signature · 1 line
1.5.2.rc0.1.g2cc31