From: Ævar Arnfjörð Bjarmason Date: Thu, 26 Apr 2018 07:50:58 +0000 (+0000) Subject: .gitattributes: add a diff driver for Python X-Git-Tag: v2.18.0-rc0~56^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=7818b619e2c88eecd6410286f67c944f3d0d9caa;p=thirdparty%2Fgit.git .gitattributes: add a diff driver for Python Declare that the *.py files in our tree are Python for the purposes of diffing, and as in 00ddc9d13c ("Fix build with core.autocrlf=true", 2017-05-09) set eol=lf on them, which makes sense like with the *.perl files. Signed-off-by: Ævar Arnfjörð Bjarmason Signed-off-by: Junio C Hamano --- diff --git a/.gitattributes b/.gitattributes index aa08dd219d..1bdc91e282 100644 --- a/.gitattributes +++ b/.gitattributes @@ -4,6 +4,7 @@ *.perl eol=lf diff=perl *.pl eof=lf diff=perl *.pm eol=lf diff=perl +*.py eol=lf diff=python /Documentation/git-*.txt eol=lf /command-list.txt eol=lf /GIT-VERSION-GEN eol=lf