github/gitscm-next — pull request #231 by jnavila (2013-01-05 17:22:44+00:00)
Title: [book] tidy chapter when regenerating it

* Remove a chapter if it contains no sections
* Remove sections which are not present in the chapter

Maybe this version will be less disrupting.