batman-adv: Ignore temporary files in git-status/git-add/...

Message ID 1453304665-30753-1-git-send-email-sven@open-mesh.com (mailing list archive)
State Accepted, archived
Commit d5e8ba80a27c5bbdef018343ffa4adccc23f6da9
Headers

Commit Message

Sven Eckelmann Jan. 20, 2016, 3:44 p.m. UTC
  Signed-off-by: Sven Eckelmann <sven@open-mesh.com>
---
 .gitattributes | 2 ++
 .gitignore     | 8 ++++++++
 2 files changed, 10 insertions(+)
 create mode 100644 .gitattributes
 create mode 100644 .gitignore
  

Comments

Marek Lindner Jan. 30, 2016, 4:21 a.m. UTC | #1
On Wednesday, January 20, 2016 16:44:25 Sven Eckelmann wrote:
> Signed-off-by: Sven Eckelmann <sven@open-mesh.com>
> ---
>  .gitattributes | 2 ++
>  .gitignore     | 8 ++++++++
>  2 files changed, 10 insertions(+)
>  create mode 100644 .gitattributes
>  create mode 100644 .gitignore

Applied in revision d5e8ba8.

Thanks,
Marek
  

Patch

diff --git a/.gitattributes b/.gitattributes
new file mode 100644
index 0000000..eeef3e0
--- /dev/null
+++ b/.gitattributes
@@ -0,0 +1,2 @@ 
+/.gitignore export-ignore
+/.gitattributes export-ignore
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..59c6a30
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,8 @@ 
+/compat-autoconf.h
+/compat-autoconf.h.tmp
+/net/batman-adv/.*
+/net/batman-adv/batman-adv.ko
+/net/batman-adv/batman-adv.mod.c
+/net/batman-adv/modules.order
+/net/batman-adv/Module.symvers
+/net/batman-adv/*.o