Skip to contentSkip to conversation

ignore patch related files

PATCH Superseded Mike Frysinger 2 participants 4 messages May 17, 2011 – May 18, 2011

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ignore patch related files

---
 .gitignore |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
.gitignore +4 -0
index 08013fc..e6557c3 100644
@@ -58,6 +58,10 @@ QMP/qmp-commands.txt
 *.orig
 .pc
 patches
+*.diff
+*.patch
+*.rej
+*.orig
 pc-bios/bios-pq/status
 pc-bios/vgabios-pq/status
 pc-bios/optionrom/linuxboot.bin
Signature · 1 line
1.7.5.rc3
#1 lore raw
Quoted 10 lines · Mike Frysinger
.gitignore +0 -0
@@ -58,6 +58,10 @@ QMP/qmp-commands.txt
  *.orig

 .pc
 patches

.gitignore +4 -0
+*.diff
+*.patch
+*.rej
+*.orig
Quoted 3 lines

 pc-bios/bios-pq/status
 pc-bios/vgabios-pq/status
 pc-bios/optionrom/linuxboot.bin

Er, *.orig is already in .gitignore, you can see it in the context here...

Also I tend to agree with the argument made by Stefan Weil in the final comment on this patch:
http://patchwork.ozlabs.org/patch/84320/
qemu's .gitignore should contain only entries specific to qemu (files created by running makefile targets and the like); generic things like .diff/.patch/.rej should be in your local git config instead.

-- PMM

#2 lore raw
Quoted 17 lines · Peter Maydell
Quoted 10 lines · Mike Frysinger
.gitignore +0 -0
@@ -58,6 +58,10 @@ QMP/qmp-commands.txt
  *.orig

 .pc
 patches

.gitignore +4 -0
+*.diff
+*.patch
+*.rej
+*.orig
Quoted 3 lines

 pc-bios/bios-pq/status
 pc-bios/vgabios-pq/status
 pc-bios/optionrom/linuxboot.bin

Er, *.orig is already in .gitignore, you can see it in the context here...

yes, this patch was written before that .orig entry

Quoted 7 lines

Also I tend to agree with the argument made by Stefan Weil in the final comment on this patch:
http://patchwork.ozlabs.org/patch/84320/
qemu's .gitignore should contain only entries specific to qemu (files created by running makefile targets and the like); generic things like .diff/.patch/.rej should be in your local git config instead.

using that logic, quite a few entries shouldn't be in .gitignore. like the "*.orig" you already quoted. and the patch you refer to was merged.
-mike

#3 lore raw

PATCH v2 1/1 ignore patch related files

In reply to Mike Frysinger

---
v2
- drop *.orig as it has been merged already

 .gitignore |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
.gitignore +3 -0
index 08013fc..790dc12 100644
@@ -58,6 +58,9 @@ QMP/qmp-commands.txt
 *.orig
 .pc
 patches
+*.diff
+*.patch
+*.rej
 pc-bios/bios-pq/status
 pc-bios/vgabios-pq/status
 pc-bios/optionrom/linuxboot.bin
Signature · 1 line
1.7.5.rc3