mbox series

[GSoC,0/2] add userdiff driver for gitconfig

Message ID 20250319172016.2115-1-lucasseikioshiro@gmail.com (mailing list archive)
Headers show
Series add userdiff driver for gitconfig | expand

Message

Lucas Seiki Oshiro March 19, 2025, 5:20 p.m. UTC
Hi!

Here's a simple patch, adding a userdiff driver for gitconfig files. This can be
useful for people who use Git for versioning configuration files, like a
dotfiles repository.

This patchset also includes tests for it.

Lucas Seiki Oshiro (2):
  userdiff: add builtin driver for gitconfig syntax
  t4018: add tests for gitconfig in userdiff

 t/t4018/gitconfig-section             | 5 +++++
 t/t4018/gitconfig-section-noindent    | 5 +++++
 t/t4018/gitconfig-subsection          | 7 +++++++
 t/t4018/gitconfig-subsection-noindent | 7 +++++++
 userdiff.c                            | 4 ++++
 5 files changed, 28 insertions(+)
 create mode 100644 t/t4018/gitconfig-section
 create mode 100644 t/t4018/gitconfig-section-noindent
 create mode 100644 t/t4018/gitconfig-subsection
 create mode 100644 t/t4018/gitconfig-subsection-noindent