diff options
author | Johannes Sixt <j6t@kdbg.org> | 2019-05-30 18:44:35 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2019-05-30 09:53:26 -0700 |
commit | 33be7b38c23fbbaf75197f6150323e0d4c84bf12 (patch) | |
tree | 6fe384d0333f95ad2c83efe3cad2794d83046fd0 /t/t9602/cvsroot/module/sub2 | |
parent | userdiff: add built-in pattern for rust (diff) | |
download | tgif-33be7b38c23fbbaf75197f6150323e0d4c84bf12.tar.xz |
userdiff: two simplifications of patterns for rust
- Do not enforce (but assume) syntactic correctness of language
constructs that go into hunk headers: we only want to ensure that
the keywords actually are words and not just the initial part of
some identifier.
- In the word regex, match numbers only when they begin with a digit,
but then be liberal in what follows, assuming that the text that is
matched is syntactially correct.
Signed-off-by: Johannes Sixt <j6t@kdbg.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t9602/cvsroot/module/sub2')
0 files changed, 0 insertions, 0 deletions