mirror of
https://github.com/nix-community/home-manager
synced 2024-11-30 15:09:46 +01:00
9a1feb5b10
When setting values using the `git config --set` command, git formats the file a bit differently. This changes the output so it maps to that format. Differences: * each `key = value` in a section is prefixed by a tab character * the `=` between the key and the value is surrounded by spaces PR #1069
42 lines
644 B
Text
42 lines
644 B
Text
[alias]
|
|
a1 = foo
|
|
a2 = baz
|
|
|
|
[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 clean -- %f
|
|
process = git-lfs filter-process
|
|
required = true
|
|
smudge = git-lfs smudge -- %f
|
|
|
|
[gpg]
|
|
program = path-to-gpg
|
|
|
|
[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@
|