git-vain/config.example.toml

28 lines
1.3 KiB
TOML

# All fields are optional - omit/comment them if not including them
# The PGP key ID to use for signing - this will use gpg-agent and is incredibly
# slow. Consider exporting your key to a file and providing it below.
# Note that providing an ID or file on the command-line will override either in
# the config.
signing_key_id = 'ABCDEF012345679CAFEBABE0DECAFC0FFEEBAD11'
# The PGP secret key file to use for signing - this will use sequoia and is
# orders of magnitude faster than using gpg-agent.
# Note that providing an ID or file on the command-line will override either in
# the config.
signing_key_file = '/path/to/secret-key.pgp'
# The number of threads to use. 0 for system's amount of logical cores
threads = 0
# The method to use for generating hashes.
# increment - increase timestamp by 1 second until prefix is found
# decrement - decrease timestamp by 1 second until prefix is found
# random - append a random string in the commit message until prefix is found
# counter - append a string containing the number of tries until prefix is
# found
# header - add a git commit header to the commit with an increasing counter
# until prefix is found (this is invisible but may break if git
# changes how it parses headers)
method = 'counter'