Skip to contentSkip to conversation

gitignore: add two generated files in purgatory

PATCH In review Eric DeVolder 3 participants 4 messages Feb 21, 2017 – Feb 23, 2017

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 gitignore: add two generated files in purgatory

This patch adds the two generated files below to .gitignore, so that 'git status' does not complain about them.

purgatory/purgatory.map
purgatory/purgatory.ro.sym

---
v2: Incorporated feedback
- A bit more specific why these files added to .gitignore
v1: Posted to kexec-tools mailing list

---
 .gitignore | 2 ++
 1 file changed, 2 insertions(+)
.gitignore +2 -0
index 81e03ab..1ab52d9 100644
@@ -17,3 +17,5 @@
 /configure
 /include/config.h.in
 /include/config.h
+/purgatory/purgatory.map
+/purgatory/purgatory.ro.sym
Signature · 7 lines
2.7.4


_______________________________________________
kexec mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/kexec
#1 lore raw
Quoted 2 lines · Eric DeVolder

This patch adds the two generated files below to .gitignore, so that 'git status' does not complain about them.

This is not a problem. Do you have issues during 'git checkout' or so? If yes then I think it is worth considering.

Daniel

_______________________________________________
kexec mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/kexec

#2 lore raw
Quoted 8 lines · Daniel Kiper
Quoted 2 lines · Eric DeVolder

This patch adds the two generated files below to .gitignore, so that 'git status' does not complain about them.

This is not a problem. Do you have issues during 'git checkout' or so? If yes then I think it is worth considering.

Daniel

The contents of .gitignore are as follows. There are other generated files in the file list. It's not that there is a problem, but rather I added these two files for the likely same reason the other generated files are in the list, to cease the complaints from git about those files.

eric

=== contents of .gitignore ===

#
# Normal rules
#
*~
*.a
*.d
*.o
*.ro

# generated files
/Makefile
/autom4te.cache/
/bin/
/build/
/config.log
/config.status
/configure
/include/config.h.in
/include/config.h

_______________________________________________
kexec mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/kexec

Reviewed-by on v2 1/1
#3 lore raw
In reply to Eric DeVolder
Quoted 7 lines · Eric DeVolder

This patch adds the two generated files below to .gitignore, so that 'git status' does not complain about them.

purgatory/purgatory.map
purgatory/purgatory.ro.sym

I think, it will be good to have these two files in .gitignore.

Infact, there should be few more which is generated by developer like tags etc..

/tags
cscope.*
*.patch

Quoted 14 lines

---
v2: Incorporated feedback
- A bit more specific why these files added to .gitignore
v1: Posted to kexec-tools mailing list

---
 .gitignore | 2 ++
 1 file changed, 2 insertions(+)
.gitignore +0 -0
index 81e03ab..1ab52d9 100644

.gitignore line 21

Quoted 5 lines
.gitignore +2 -0
@@ -17,3 +17,5 @@
 /configure
 /include/config.h.in
 /include/config.h
+/purgatory/purgatory.map
+/purgatory/purgatory.ro.sym

~Pratyush

_______________________________________________
kexec mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/kexec