summaryrefslogtreecommitdiff
path: root/Documentation/gitattributes.txt
diff options
context:
space:
mode:
authorKirill Smelkov <kirr@mns.spb.ru>2008-08-20 15:57:07 (GMT)
committerJunio C Hamano <gitster@pobox.com>2008-08-21 06:53:33 (GMT)
commit7c17205b64a0e668d8a6e59109043bd4f2af3a0c (patch)
tree97d07ca394443b596bd5ffc236550532be732125 /Documentation/gitattributes.txt
parent5630feaf370e15c01ef8a6aa469bfd656c1d1cd7 (diff)
downloadgit-7c17205b64a0e668d8a6e59109043bd4f2af3a0c.zip
git-7c17205b64a0e668d8a6e59109043bd4f2af3a0c.tar.gz
git-7c17205b64a0e668d8a6e59109043bd4f2af3a0c.tar.bz2
Teach "git diff -p" Python funcname patterns
Find classes, functions, and methods definitions. Signed-off-by: Kirill Smelkov <kirr@mns.spb.ru> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation/gitattributes.txt')
-rw-r--r--Documentation/gitattributes.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/Documentation/gitattributes.txt b/Documentation/gitattributes.txt
index db16b0c..9279df5 100644
--- a/Documentation/gitattributes.txt
+++ b/Documentation/gitattributes.txt
@@ -316,6 +316,8 @@ patterns are available:
- `pascal` suitable for source code in the Pascal/Delphi language.
+- `python` suitable for source code in the Python language.
+
- `ruby` suitable for source code in the Ruby language.
- `tex` suitable for source code for LaTeX documents.