git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Lucas Seiki Oshiro <lucasseikioshiro@gmail.com>
To: git@vger.kernel.org
Cc: Lucas Seiki Oshiro <lucasseikioshiro@gmail.com>
Subject: [GSoC PATCH 0/2] add userdiff driver for gitconfig
Date: Wed, 19 Mar 2025 14:20:14 -0300	[thread overview]
Message-ID: <20250319172016.2115-1-lucasseikioshiro@gmail.com> (raw)

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

-- 
2.39.5 (Apple Git-154)


             reply	other threads:[~2025-03-19 17:20 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-03-19 17:20 Lucas Seiki Oshiro [this message]
2025-03-19 17:20 ` [GSoC PATCH 1/2] userdiff: add builtin driver for gitconfig syntax Lucas Seiki Oshiro
2025-03-20  8:38   ` Patrick Steinhardt
2025-03-21  2:11     ` D. Ben Knoble
2025-03-19 17:20 ` [GSoC PATCH 2/2] t4018: add tests for gitconfig in userdiff Lucas Seiki Oshiro
2025-03-20  8:38   ` Patrick Steinhardt
2025-03-23 16:08     ` Lucas Seiki Oshiro

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20250319172016.2115-1-lucasseikioshiro@gmail.com \
    --to=lucasseikioshiro@gmail.com \
    --cc=git@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).