ignore patch related files
PATCH 1/1 ignore patch related files
--- .gitignore | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-)
.gitignore +4 -0
@@ -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
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
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 +*.origQuoted 3 lines
pc-bios/bios-pq/status
pc-bios/vgabios-pq/status
pc-bios/optionrom/linuxboot.binEr, *.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
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
@@ -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