Skip to content

Commit

Permalink
Improve 'git diff' of Python files.
Browse files Browse the repository at this point in the history
* .gitattributes: Add a rule for *.py files.
  • Loading branch information
collinfunk authored and bhaible committed Apr 13, 2024
1 parent b4e435f commit 010560f
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -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
5 changes: 5 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
2024-04-13 Collin Funk <[email protected]>

Improve 'git diff' of Python files.
* .gitattributes: Add a rule for *.py files.

2024-04-13 Collin Funk <[email protected]>

gnulib-tool.py: Fix extra arguments to function call.
Expand Down

0 comments on commit 010560f

Please sign in to comment.