Skip to contentSkip to conversation

gitignore: Ignore more .pod files.

PATCH Applied Eric Blake 4 participants 4 messages Mar 20, 2015 – Mar 25, 2015

lore
Share & tools
lore

Eric Blake

author
#0 lore raw

PATCH v2 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 spelling out each such file, just ignore the entire pattern.

---

v2: fix man page pattern

 .gitignore | 10 ++--------
 1 file changed, 2 insertions(+), 8 deletions(-)
.gitignore +2 -8
index e32a584..aed0e1f 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-9]
 *.a
 *.aux
 *.cp
@@ -70,6 +63,7 @@
 *.ky
 *.log
 *.pdf
+*.pod
 *.cps
 *.fns
 *.kys
Signature · 1 line
2.1.0
Reviewed-by on v2 1/1
#1 lore raw

Am 20.03.2015 um 17:30 schrieb Eric Blake:

Quoted 44 lines

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 spelling out each such file, just ignore the entire pattern.

---

v2: fix man page pattern

  .gitignore | 10 ++--------
  1 file changed, 2 insertions(+), 8 deletions(-)
.gitignore +1 -8
index e32a584..aed0e1f 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-9]
  *.a
  *.aux
  *.cp

.gitignore line 69

Quoted 7 lines
.gitignore +1 -0
@@ -70,6 +63,7 @@
  *.ky
  *.log
  *.pdf
+*.pod
  *.cps
  *.fns
  *.kys

What about only supporting out-of-tree builds for future versions of QEMU? .gitignore could be reduced to a few lines then.

#2 lore raw
Quoted 55 lines · Stefan Weil

Am 20.03.2015 um 17:30 schrieb Eric Blake:

Quoted 44 lines

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 spelling out each such file, just ignore the entire pattern.

---

v2: fix man page pattern

  .gitignore | 10 ++--------
  1 file changed, 2 insertions(+), 8 deletions(-)
.gitignore +1 -8
index e32a584..aed0e1f 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-9]
  *.a
  *.aux
  *.cp

.gitignore line 69

Quoted 7 lines
.gitignore +1 -0
@@ -70,6 +63,7 @@
  *.ky
  *.log
  *.pdf
+*.pod
  *.cps
  *.fns
  *.kys
Quoted 2 lines

What about only supporting out-of-tree builds for future versions of QEMU? .gitignore could be reduced to a few lines then.

Yes, please! Could you prep a patch?

#3 lore raw
In reply to Eric Blake
Quoted 4 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 spelling out each such file, just ignore the entire pattern.

Applied to -trivial, thank you!

/mjt