Skip to content
Snippets Groups Projects
Commit 4b3c5194 authored by Kaushik Lingarkar's avatar Kaushik Lingarkar Committed by Matthias Sohn
Browse files

Support built-in diff drivers for hunk header function names

The regexes defined for each built-in driver will be used to determine
the function name for a hunk header. Each driver can specify a list of
regexes to negate and match. They can also define pattern compilation
flags if needed. These drivers only apply to text files with unified
patch type.

Following built-in drivers have been added:
- cpp
- dts
- java
- python
- rust

Support for more languages can be added as needed to match the cgit
implementation.

Change-Id: Ice5430bfed7e4aaf9f00e52e44402479984953c5
parent d34f8b52
No related branches found
No related tags found
No related merge requests found
Showing
with 448 additions and 13 deletions
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment