Commit 6365886c authored by Brad King's avatar Brad King

Define a custom Git attribute to mark sources using our C style

parent 0af48083
......@@ -2,18 +2,22 @@
.gitattributes -export-ignore
.hooks* export-ignore
# Custom attribute to mark sources as using our C code style.
[attr]our-c-style whitespace=tab-in-indent
/GitSetup export-ignore
/*.sh export-ignore eol=lf
/*.bash export-ignore eol=lf
/.clang-format export-ignore
*.c whitespace=tab-in-indent
*.h whitespace=tab-in-indent
*.h.in whitespace=tab-in-indent
*.cxx whitespace=tab-in-indent
*.hxx whitespace=tab-in-indent
*.hxx.in whitespace=tab-in-indent
*.txt whitespace=tab-in-indent
*.cmake whitespace=tab-in-indent
*.c our-c-style
*.c.in our-c-style
*.cxx our-c-style
*.h our-c-style
*.h.in our-c-style
*.hxx our-c-style
*.hxx.in our-c-style
*.cmake whitespace=tab-in-indent
*.rst whitespace=tab-in-indent conflict-marker-size=79
*.txt whitespace=tab-in-indent
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment