Add TAGS and *~ to .gitignore
PATCH 1/1 Add TAGS and *~ to .gitignore
Add the etags output generated by "make TAGS" and editor backup files to .gitignore.
This patch has previously appeared in my series of patches to add pSeries emulation support. However, it obviously has no real connection to that, and can be applied seperately.
Please apply.
--- .gitignore | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-)
.gitignore +2 -0
@@ -63,3 +63,5 @@ pc-bios/optionrom/multiboot.raw .stgit-* cscope.* tags +TAGS +*~
Signature · 8 lines
1.7.1 -- David Gibson | I'll have my music baroque, and my code david AT gibson.dropbear.id.au | minimalist, thank you. NOT _the_ _other_ | _way_ _around_! http://www.ozlabs.org/~dgibson
Quoted 8 lines · David Gibson
Add the etags output generated by "make TAGS" and editor backup files to .gitignore.
This patch has previously appeared in my series of patches to add pSeries emulation support. However, it obviously has no real connection to that, and can be applied seperately.
Please apply.
Yes, please.
Quoted 10 lines · David Gibson
Add the etags output generated by "make TAGS" and editor backup files to .gitignore.
This patch has previously appeared in my series of patches to add pSeries emulation support. However, it obviously has no real connection to that, and can be applied seperately.
Please apply.
Signed-off-by David Gibson <[email protected]>
O:-)
Quoted 16 lines
--- .gitignore | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-).gitignore +2
-0@@ -63,3 +63,5 @@ pc-bios/optionrom/multiboot.raw .stgit-* cscope.* tags +TAGS +*~Signature · 1 line
1.7.1
Anthony Liguori
AppliedQuoted 11 lines · David Gibson
Add the etags output generated by "make TAGS" and editor backup files to .gitignore.
This patch has previously appeared in my series of patches to add pSeries emulation support. However, it obviously has no real connection to that, and can be applied seperately.
Please apply.
Signed-off-by David Gibson<[email protected]>
Applied. Thanks.
Regards,
Anthony Liguori
Quoted 15 lines
--- .gitignore | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-).gitignore +2
-0@@ -63,3 +63,5 @@ pc-bios/optionrom/multiboot.raw .stgit-* cscope.* tags +TAGS +*~
Future entries for .gitignore (was Re: [Qemu-devel] [PATCH] Add TAGS and *~ to .gitignore)
.gitignore contains two categories of entries:
(1) files and directories which are created during configure / make
(2) files which might be created by users, editors and other tools
The 1st category of files is needed by any developer who runs make in the source tree. There was once a suggestion to remove support for in-tree builds. Out-of-tree builds would not need any entry in .gitignore. So maintenance could be made easier, although I don't recommend this.
The 2nd category is virtually endless because there are so many different editors, IDEs, debuggers and other tools which create different files. The entries here are nothing which is typical of qemu. These entries are typical for the user: Do I use ctags? Does my editor write *.bak or *~ files? Do I want a .gdbinit? ...
Therefore I think that all entries of the 2nd category should be configured by the user in his/her personal git ignore list (see git config setting core.excludesfile).
Regards,
Stefan Weil