All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2] .gitignore: ignore ASN.1 auto generated files
@ 2018-02-12 13:45 Zhu Lingshan
  2018-02-14 19:53 ` Pablo Neira Ayuso
  0 siblings, 1 reply; 2+ messages in thread
From: Zhu Lingshan @ 2018-02-12 13:45 UTC (permalink / raw)
  To: linux-kernel, trivial
  Cc: netfilter-devel, yamada.masahiro, robh, 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.

Signed-off-by: Zhu Lingshan <lszhu@suse.com>
---
Changes in v2:
  -correct ANS.1 --> ASN.1 in title

 .gitignore | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/.gitignore b/.gitignore
index 705e09913dc2..1be78fd8163b 100644
--- a/.gitignore
+++ b/.gitignore
@@ -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
-- 
2.13.6

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH v2] .gitignore: ignore ASN.1 auto generated files
  2018-02-12 13:45 [PATCH v2] .gitignore: ignore ASN.1 auto generated files Zhu Lingshan
@ 2018-02-14 19:53 ` Pablo Neira Ayuso
  0 siblings, 0 replies; 2+ messages in thread
From: Pablo Neira Ayuso @ 2018-02-14 19:53 UTC (permalink / raw)
  To: Zhu Lingshan
  Cc: linux-kernel, trivial, netfilter-devel, yamada.masahiro, robh

On Mon, Feb 12, 2018 at 09:45:42PM +0800, Zhu Lingshan wrote:
> 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.

Applied, thanks.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2018-02-14 19:54 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-02-12 13:45 [PATCH v2] .gitignore: ignore ASN.1 auto generated files Zhu Lingshan
2018-02-14 19:53 ` Pablo Neira Ayuso

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.