All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] [GSoC] userdiff: adding typescript pattern
@ 2026-03-28 21:40 Dhruv Arora via GitGitGadget
  2026-03-28 21:40 ` [PATCH 1/2] " Dhruv Arora via GitGitGadget
                   ` (3 more replies)
  0 siblings, 4 replies; 6+ messages in thread
From: Dhruv Arora via GitGitGadget @ 2026-03-28 21:40 UTC (permalink / raw)
  To: git; +Cc: Dhruv Arora


Description
===========

 * Add builtin userdiff pattern for TypeScript files. Recognizes function
   declarations, class definitions, arrow functions, and method definitions.
   
   * Handles common modifiers like export, async, static, etc

 * Added tests for the typescript pattern in userdiff.

Dhruv Arora (2):
  userdiff: adding typescript pattern
  fix(userdiff): sorted pattern and tests

 t/t4018/typescript-class-method         |  7 +++++++
 t/t4018/typescript-export-default-class |  7 +++++++
 t/t4018/typescript-export-function      |  7 +++++++
 userdiff.c                              | 15 +++++++++++++++
 4 files changed, 36 insertions(+)
 create mode 100644 t/t4018/typescript-class-method
 create mode 100644 t/t4018/typescript-export-default-class
 create mode 100644 t/t4018/typescript-export-function


base-commit: ce74208c2fa13943fffa58f168ac27a76d0eb789
Published-As: https://github.com/gitgitgadget/git/releases/tag/pr-git-2251%2FDhruv-0-Arora%2Fuserdiff%2Ftypescript-pattern-v1
Fetch-It-Via: git fetch https://github.com/gitgitgadget/git pr-git-2251/Dhruv-0-Arora/userdiff/typescript-pattern-v1
Pull-Request: https://github.com/git/git/pull/2251
-- 
gitgitgadget

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2026-03-29 14:39 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-03-28 21:40 [PATCH 0/2] [GSoC] userdiff: adding typescript pattern Dhruv Arora via GitGitGadget
2026-03-28 21:40 ` [PATCH 1/2] " Dhruv Arora via GitGitGadget
2026-03-28 21:40 ` [PATCH 2/2] fix(userdiff): sorted pattern and tests Dhruv Arora via GitGitGadget
2026-03-29  0:42 ` [PATCH 0/2] [GSoC] userdiff: adding typescript pattern Junio C Hamano
2026-03-29  9:31 ` Johannes Sixt
2026-03-29 14:39   ` Spelling JavaScript (was: Re: [PATCH 0/2] [GSoC] userdiff: adding typescript pattern) Ben Knoble

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.