| 1 |
package gitconfig |
| 2 |
|
| 3 |
var ( |
| 4 |
// GlobalConfig is the location of the (optional) global (i.e. user-wide) config file. |
| 5 |
globalConfig = ".gitconfig" |
| 6 |
// LocalConfig is the name of the local (per-workdir) configuration. |
| 7 |
localConfig = "config" |
| 8 |
// WorktreeConfig is the name of the local worktree configuration. Can be used to override |
| 9 |
// a committed local config. |
| 10 |
worktreeConfig = "config.worktree" |
| 11 |
// EnvPrefix is the prefix for the environment variables controlling and overriding config variables. |
| 12 |
envPrefix = "GIT_CONFIG" |
| 13 |
// Name is the name of the config directory (e.g. git or gopass). |
| 14 |
name = "git" |
| 15 |
) |