Problem
mdbook init --title <title> fails to include title if git user name is not configured
Steps
- inside some environment that doesn't have git user name configured
- mdbook init --title <title>
- cat book.toml, the title is not there
- do the above again after configuring git user name, the title is there now
Possible Solution(s)
Seems that there is a line in init.rs that only adds the config to the builder if the git user name is configured, even though it does a check before that for the title.
Notes
No response
Version