]> git.ipfire.org Git - thirdparty/git.git/commit
userdiff: comment on the builtin patterns
authorJunio C Hamano <gitster@pobox.com>
Tue, 10 Aug 2021 22:12:01 +0000 (15:12 -0700)
committerJunio C Hamano <gitster@pobox.com>
Wed, 11 Aug 2021 18:02:59 +0000 (11:02 -0700)
commitb6029b3279ef5997796de99ce9319a5f1499df21
treeb20c4dc6c2aa4af63570393c5a54a4664403d9e4
parentebf3c04b262aa27fbb97f8a0156c2347fecafafb
userdiff: comment on the builtin patterns

Remind developers that they do not need to go overboard to implement
patterns to prepare for invalid constructs.  They only have to be
sufficiently permissive, assuming that the payload is syntactically
correct, and that may allow them to be simpler.

Text stolen mostly from, and further improved by, Johannes Sixt.

Signed-off-by: Junio C Hamano <gitster@pobox.com>
userdiff.c