Files
home-manager/tests/modules/programs/git/git-expected.conf
John Lewis 866412a198 git: use absolute paths for git-lfs in config
This allows the git config to be used by programs that have git
installed natively and where other programs access git but don't have
the nix path available, so cannot access git-lfs.
2026-05-18 21:21:03 -05:00

53 lines
873 B
Plaintext

[alias]
a1 = "foo"
a2 = "baz"
escapes = "\"\\n\t"
[commit]
gpgSign = true
[extra]
boolean = true
integer = 38
multiple = 1
multiple = 2
name = "value"
[extra "backcompat.with.dots"]
previously = "worked"
[extra "subsection"]
value = "test"
[filter "lfs"]
clean = "@git-lfs@/bin/git-lfs clean -- %f"
process = "@git-lfs@/bin/git-lfs filter-process"
required = true
smudge = "@git-lfs@/bin/git-lfs smudge -- %f"
[gpg]
format = "openpgp"
[gpg "openpgp"]
program = "path-to-gpg"
[tag]
gpgSign = true
[user]
email = "user@example.org"
name = "John Doe"
signingKey = "00112233445566778899AABBCCDDEEFF"
[include]
path = "~/path/to/config.inc"
[includeIf "gitdir:~/src/dir"]
path = "~/path/to/conditional.inc"
[includeIf "gitdir:~/src/dir"]
path = "@git_include_path@"
[includeIf "gitdir:~/src/otherproject"]
path = "@git_named_include_path@"