Module workerlib::git_config
source · Expand description
Configure the global settings of all git-binary based operations.
Structs§
- Ensure that the global git configuration is initialized and has the correct contents. Each time Lorry starts up this file will be setup with required values but additional options can be added as desired.
Enums§
- An error that occurred while access the global git configuration.
Constants§
- The default branch to use when initializing and creating commits, this currently only effects LFS backed raw-file repositories.
- Default path used to setup Lorry’s git configuration file. TODO: Should support XDG style configuration and maybe others.
- Default username used for basic authentication during LFS operations
- Environment variable that specifies where the global git configuration is located. This needs to be configured each time we shell out to Git.