Skip to contentSkip to conversation

gitignore: Ignore more .pod files.

PATCH Superseded Eric Blake 1 participant 2 messages Mar 20, 2015

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore

Eric Blake

author
#0 lore raw

PATCH 1/1 gitignore: Ignore more .pod files.

kvm_stat.{1,pod} started showing up as untracked files in my directory, and I nearly accidentally merged them into a commit with my usual habit of 'git add .'. Rather than naming every such generated doc file, just exclude the pattern.

---
 .gitignore | 10 ++--------
 1 file changed, 2 insertions(+), 8 deletions(-)
.gitignore +2 -8
index e32a584..da5413d 100644
@@ -37,14 +37,8 @@
 /qemu-tech.html
 /qemu-doc.info
 /qemu-tech.info
-/qemu.1
-/qemu.pod
-/qemu-img.1
-/qemu-img.pod
 /qemu-img
 /qemu-nbd
-/qemu-nbd.8
-/qemu-nbd.pod
 /qemu-options.def
 /qemu-options.texi
 /qemu-img-cmds.texi
@@ -56,8 +50,7 @@
 /qmp-commands.txt
 /vscclient
 /fsdev/virtfs-proxy-helper
-/fsdev/virtfs-proxy-helper.1
-/fsdev/virtfs-proxy-helper.pod
+*.1
 *.a
 *.aux
 *.cp
@@ -70,6 +63,7 @@
 *.ky
 *.log
 *.pdf
+*.pod
 *.cps
 *.fns
 *.kys
Signature · 1 line
2.1.0
author
#1 lore raw

Review

Quoted 12 lines · Eric Blake

kvm_stat.{1,pod} started showing up as untracked files in my directory, and I nearly accidentally merged them into a commit with my usual habit of 'git add .'. Rather than naming every such generated doc file, just exclude the pattern.

---

(quoted diff) +1 -1
-/qemu-nbd.8
 
+*.1

Blech. Serves me right for not saving my buffer before hitting send. v2 coming up that doesn't leak qemu-nbd.8 (or any other man page we might add outside of section 1).

Signature · 2 lines
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org