From: Petr Špaček Date: Tue, 26 Feb 2019 11:08:53 +0000 (+0100) Subject: gitattributes: specify word diff regex for C and C++ sources X-Git-Tag: v4.0.0~27^2~3 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=9afabf85c7e2c817f09baedd4ff8f65d98331d01;p=thirdparty%2Fknot-resolver.git gitattributes: specify word diff regex for C and C++ sources This makes git diff --word-diff easier to read. --- diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 000000000..1da6af478 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,2 @@ +*.c diff=cpp +*.cpp diff=cpp