Skip to contentSkip to conversation

.gitignore: ignore ANS.1 auto generated files

PATCH Superseded Zhu Lingshan 1 participant 2 messages Feb 11, 2018 – Feb 12, 2018 netfilter

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 .gitignore: ignore ANS.1 auto generated files

when build kernel with default configure, files:

generatenet/ipv4/netfilter/nf_nat_snmp_basic-asn1.c net/ipv4/netfilter/nf_nat_snmp_basic-asn1.h

will be automatically generated by ASN.1 compiler, so No need to track them in git, it's better to ignore them.

---
 .gitignore | 4 ++++
 1 file changed, 4 insertions(+)
.gitignore +4 -0
index 705e09913dc2..1be78fd8163b 100644
@@ -127,3 +127,7 @@ all.config
 
 # Kdevelop4
 *.kdev4
+
+#Automatically generated by ASN.1 compiler
+net/ipv4/netfilter/nf_nat_snmp_basic-asn1.c
+net/ipv4/netfilter/nf_nat_snmp_basic-asn1.h
Signature · 1 line
2.13.6
#1 lore raw

cc Masahiro and Rob

Thanks,
BR
Zhu Lingshan

Quoted 25 lines · Zhu Lingshan

when build kernel with default configure, files:

generatenet/ipv4/netfilter/nf_nat_snmp_basic-asn1.c net/ipv4/netfilter/nf_nat_snmp_basic-asn1.h

will be automatically generated by ASN.1 compiler, so No need to track them in git, it's better to ignore them.

---
  .gitignore | 4 ++++
  1 file changed, 4 insertions(+)
.gitignore +4 -0
index 705e09913dc2..1be78fd8163b 100644
@@ -127,3 +127,7 @@ all.config
 
  # Kdevelop4
  *.kdev4
+
+#Automatically generated by ASN.1 compiler
+net/ipv4/netfilter/nf_nat_snmp_basic-asn1.c
+net/ipv4/netfilter/nf_nat_snmp_basic-asn1.h