From: Zhu Lingshan <lszhu@suse.com>
To: linux-kernel@vger.kernel.org, trivial@kernel.org
Cc: netfilter-devel@vger.kernel.org, yamada.masahiro@socionext.com,
robh@kernel.org, Zhu Lingshan <lszhu@suse.com>
Subject: [PATCH v2] .gitignore: ignore ASN.1 auto generated files
Date: Mon, 12 Feb 2018 21:45:42 +0800 [thread overview]
Message-ID: <20180212134542.13040-1-lszhu@suse.com> (raw)
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
next reply other threads:[~2018-02-12 13:46 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-02-12 13:45 Zhu Lingshan [this message]
2018-02-14 19:53 ` [PATCH v2] .gitignore: ignore ASN.1 auto generated files Pablo Neira Ayuso
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20180212134542.13040-1-lszhu@suse.com \
--to=lszhu@suse.com \
--cc=linux-kernel@vger.kernel.org \
--cc=netfilter-devel@vger.kernel.org \
--cc=robh@kernel.org \
--cc=trivial@kernel.org \
--cc=yamada.masahiro@socionext.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).