summaryrefslogtreecommitdiffstats
path: root/pkg/config/user_config.go
diff options
context:
space:
mode:
authorJuan Sanchez Montalvo <jsmontalvo@osx-l-07779.youview.local>2022-06-24 22:10:13 +0100
committerJesse Duffield <jessedduffield@gmail.com>2022-07-05 19:33:44 +1000
commit11d766053e8fad837d598c9f4d4a0c7af62d0a92 (patch)
tree3b26df22c69c0913693f443775f762d3c41bdb2f /pkg/config/user_config.go
parent41071c37035a5944f77b4f0da5f07ec3b52fef0e (diff)
Allow adding a file to the .git/info/exclude file
Diffstat (limited to 'pkg/config/user_config.go')
-rw-r--r--pkg/config/user_config.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkg/config/user_config.go b/pkg/config/user_config.go
index 0b3a91bf6..22c9c81dd 100644
--- a/pkg/config/user_config.go
+++ b/pkg/config/user_config.go
@@ -210,7 +210,7 @@ type KeybindingFilesConfig struct {
CommitChangesWithoutHook string `yaml:"commitChangesWithoutHook"`
AmendLastCommit string `yaml:"amendLastCommit"`
CommitChangesWithEditor string `yaml:"commitChangesWithEditor"`
- IgnoreFile string `yaml:"ignoreFile"`
+ IgnoreOrExcludeFile string `yaml:"IgnoreOrExcludeFile"`
RefreshFiles string `yaml:"refreshFiles"`
StashAllChanges string `yaml:"stashAllChanges"`
ViewStashOptions string `yaml:"viewStashOptions"`
@@ -487,7 +487,7 @@ func GetDefaultConfig() *UserConfig {
CommitChangesWithoutHook: "w",
AmendLastCommit: "A",
CommitChangesWithEditor: "C",
- IgnoreFile: "i",
+ IgnoreOrExcludeFile: "i",
RefreshFiles: "r",
StashAllChanges: "s",
ViewStashOptions: "S",