From 88d2c52d1097ca9f8f535b1a798ac914dfcc8cca Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Antonin=20D=C3=A9cimo?= Date: Wed, 15 Jan 2020 14:41:19 +0100 Subject: [PATCH] Create a gitattributes file When creating an archive, the GitHub repository and VCS-specific files are now ignored. The diff "hunk header" is customized for C/C++ [1]. [1]: https://git-scm.com/docs/gitattributes#_defining_a_custom_hunk_header --- .gitattributes | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 .gitattributes diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 000000000..89b755c94 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,5 @@ +.git* export-ignore +.hg* export-ignore +*.c diff=cpp +*.cpp diff=cpp +*.h diff=cpp