SetConfig marshall and writes the repository config. In a filesystem backed repository this means write the `.git/config`. This function should be called with the result of `Repository.Config` and never with the output of `Repository.ConfigScoped`.
(cfg *config.Config)
| 557 | // with the result of `Repository.Config` and never with the output of |
| 558 | // `Repository.ConfigScoped`. |
| 559 | func (r *Repository) SetConfig(cfg *config.Config) error { |
| 560 | return r.Storer.SetConfig(cfg) |
| 561 | } |
| 562 | |
| 563 | // ConfigScoped returns the repository config, merged with requested scope and |
| 564 | // lower. For example if, config.GlobalScope is given the local and global config |