From: Andrew Cooper Date: Fri, 29 Jul 2016 13:02:42 +0000 (+0000) Subject: Introduce .gitattributes X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=27d6c652d697108092f7ebcb7d32bc52e605d507;p=people%2Fliuw%2Fxtf.git Introduce .gitattributes This allows `git diff` and friends to be slightly more clever about generating hunks for specific files. Signed-off-by: Andrew Cooper --- diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9197359 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,6 @@ +# C/C++ files +*.[hc] diff=cpp + +# Python files +*.py diff=python +xtf-runner diff=python