git: configure patdiff through [patdiff] git section (#6978)

This adds the ability to enable the patdiff program as git differ.
Website of the project: https://opensource.janestreet.com/patdiff/
This commit is contained in:
Plume 2025-05-08 15:15:51 +02:00 committed by GitHub
parent 50894120e8
commit 2ede089d11
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 68 additions and 1 deletions

View file

@ -0,0 +1,19 @@
[commit]
gpgSign = true
[diff]
external = "@patdiff@/bin/patdiff-git-wrapper"
[gpg]
format = "openpgp"
[gpg "openpgp"]
program = "path-to-gpg"
[tag]
gpgSign = true
[user]
email = "user@example.org"
name = "John Doe"
signingKey = "00112233445566778899AABBCCDDEEFF"