diff mbox series

.gitignore: ignore ANS.1 auto generated files

Message ID 20180211095554.16303-1-lszhu@suse.com
State Superseded
Delegated to: Pablo Neira
Headers show
Series .gitignore: ignore ANS.1 auto generated files | expand

Commit Message

Zhu Lingshan Feb. 11, 2018, 9:55 a.m. UTC
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>
---
 .gitignore | 4 ++++
 1 file changed, 4 insertions(+)

Comments

Zhu Lingshan Feb. 12, 2018, 4:22 a.m. UTC | #1
cc Masahiro and Rob

Thanks,
BR
Zhu Lingshan

On 2018/2/11 17:55, 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.
>
> Signed-off-by: Zhu Lingshan <lszhu@suse.com>
> ---
>   .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

--
To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox series

Patch

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