Commit 70dab069 authored by Brian Tiger Chow's avatar Brian Tiger Chow

doc(fsrepo)

parent 6ec60ba8
...@@ -86,6 +86,9 @@ func Init(path string, conf *config.Config) error { ...@@ -86,6 +86,9 @@ func Init(path string, conf *config.Config) error {
if err != nil { if err != nil {
return err return err
} }
// initialization is the one time when it's okay to write to the config
// without reading the config from disk and merging any user-provided keys
// that may exist.
if err := writeConfigFile(configFilename, conf); err != nil { if err := writeConfigFile(configFilename, conf); err != nil {
return err return err
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment