-
- Downloads
fix(cli): ignore missing sections when removing configuration (#1455)
This change fixes an error typically encountered in the `git-bug-wipe` command, caused by overly zealous implementations of //repository:config.go%ConfigWrite.RemoveAll(). This change refactors these implementations to only attempt to remove sections that exist, and ignore non-existent sections. Closes: #1451 Change-Id: I66e710239915c8601dd70a78ae65eb625e093ef6
Showing
- CONTRIBUTING.md 10 additions, 0 deletionsCONTRIBUTING.md
- commands/wipe.go 1 addition, 0 deletionscommands/wipe.go
- repository/config_mem.go 0 additions, 7 deletionsrepository/config_mem.go
- repository/config_testing.go 3 additions, 6 deletionsrepository/config_testing.go
- repository/gogit_config.go 1 addition, 12 deletionsrepository/gogit_config.go
Loading