[13/22] Update .gitignore and create .gitattributes

Message ID 1597360905-74106-14-git-send-email-navasile@linux.microsoft.com (mailing list archive)
State Superseded, archived
Delegated to: Thomas Monjalon
Headers
Series windows/netuio: add netuio driver for Windows |

Checks

Context Check Description
ci/checkpatch success coding style OK

Commit Message

Narcisa Ana Maria Vasile Aug. 13, 2020, 11:21 p.m. UTC
  From: Narcisa Vasile <navasile@microsoft.com>

Add build folders and .vs/ to .gitignore.
Create .gitattributes to handle line endings correctly.

Signed-off-by: Narcisa Vasile <navasile@microsoft.com>
Reported-by: Dmitry Kozlyuk <dmitry.kozliuk@gmail.com>
---
 .gitattributes | 4 ++++
 .gitignore     | 2 ++
 2 files changed, 6 insertions(+)
 create mode 100644 .gitattributes
  

Patch

diff --git a/.gitattributes b/.gitattributes
new file mode 100644
index 000000000..13482db3d
--- /dev/null
+++ b/.gitattributes
@@ -0,0 +1,4 @@ 
+* text=auto
+
+*.sln text eol=crlf
+*.vcxproj text eol=crlf
diff --git a/.gitignore b/.gitignore
index e69de29bb..543281e8f 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1,2 @@ 
+x64/
+.vs/