summaryrefslogtreecommitdiff
path: root/git-gui/windows
diff options
context:
space:
mode:
authorLibravatar Johannes Sixt <j6t@kdbg.org>2019-05-30 18:44:35 +0200
committerLibravatar Junio C Hamano <gitster@pobox.com>2019-05-30 09:53:26 -0700
commit33be7b38c23fbbaf75197f6150323e0d4c84bf12 (patch)
tree6fe384d0333f95ad2c83efe3cad2794d83046fd0 /git-gui/windows
parentuserdiff: add built-in pattern for rust (diff)
downloadtgif-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 'git-gui/windows')
0 files changed, 0 insertions, 0 deletions