From: Collin Funk Date: Sat, 13 Apr 2024 18:16:44 +0000 (-0700) Subject: Improve 'git diff' of Python files. X-Git-Tag: v1.0~97 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=010560f22ebdd8af4307f834b9255f8a7fba7cba;p=thirdparty%2Fgnulib.git Improve 'git diff' of Python files. * .gitattributes: Add a rule for *.py files. --- diff --git a/.gitattributes b/.gitattributes index bad5997b57..c7fecf66a5 100644 --- a/.gitattributes +++ b/.gitattributes @@ -8,3 +8,6 @@ ChangeLog merge=merge-changelog # Run this to make 'git diff' on .m4 files give nicer hunk context: # git config diff.m4.xfuncname '^((AC_DEFUN|m4_define)[^,)]*)' *.m4 diff=m4 + +# Improve diff hunk context on Python files. +*.py diff=python diff --git a/ChangeLog b/ChangeLog index 4a5594c5cd..c9349f22ac 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2024-04-13 Collin Funk + + Improve 'git diff' of Python files. + * .gitattributes: Add a rule for *.py files. + 2024-04-13 Collin Funk gnulib-tool.py: Fix extra arguments to function call.