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>
This commit is contained in:

committed by
Junio C Hamano

parent
ab15ad1a3b
commit
91bf382fcf
4
t/t4018/matlab-function
Normal file
4
t/t4018/matlab-function
Normal file
@ -0,0 +1,4 @@
|
||||
function y = RIGHT()
|
||||
x = 5;
|
||||
y = ChangeMe + x;
|
||||
end
|
Reference in New Issue
Block a user