From: Junio C Hamano Date: Mon, 23 Jun 2025 18:09:35 GMT Subject: Re: [PATCH v2 1/4] userdiff: add javascript diff driver Message-ID: In-Reply-To: <20250623090538.154858-2-derick.william.moraes@gmail.com> "Derick W. de M. Frias" writes: > --- a/userdiff.c > +++ b/userdiff.c > @@ -238,33 +238,43 @@ PATTERNS("java", > "|[-+*/<>%&^|=!]=" > "|--|\\+\\+|<<=?|>>>?=?|&&|\\|\\|"), > PATTERNS("javascript", > - /* conventional named functions */ > - "^[ \t]*(async[ \t]+)?function[ \t]*\\*?[ \t]*([$_a-zA-Z][$_a-zA-Z0-9]*)[ \t]*\\(.*$|" Curious to see that anything needs to be removed from "javascript" section, when we do not have any patterns for the language in the file. Which version of Git is this patch meant to apply to?