]> git.ipfire.org Git - thirdparty/git.git/commit - userdiff.c
userdiff: add Octave
authorBoxuan Li <liboxuan@connect.hku.hk>
Sat, 18 May 2019 03:46:23 +0000 (11:46 +0800)
committerJunio C Hamano <gitster@pobox.com>
Sun, 19 May 2019 01:45:28 +0000 (10:45 +0900)
commit91bf382fcf51af04f25ba22e1b70ac13cce4bd0b
tree28e2bfad11e17276c3c03a8de38502b0ee50df9c
parentab15ad1a3b4b04a29415aef8c9afa2f64fc194a2
userdiff: add Octave

Octave pattern is almost the same as matlab, except
that '%%%' and '##' can also be used to begin code sections,
in addition to '%%' that is understood by both. Octave
pattern is merged into Matlab pattern. Test cases for
the hunk header patterns of matlab and octave under
t/t4018 are added.

Signed-off-by: Boxuan Li <liboxuan@connect.hku.hk>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/gitattributes.txt
t/t4018/matlab-class-definition [new file with mode: 0644]
t/t4018/matlab-function [new file with mode: 0644]
t/t4018/matlab-octave-section-1 [new file with mode: 0644]
t/t4018/matlab-octave-section-2 [new file with mode: 0644]
t/t4018/matlab-section [new file with mode: 0644]
userdiff.c