Re: [PATCH 5/9] t1300: `--unset-all` can leave an empty section behind (bug)

2018-03-29 Thread Jeff King
On Thu, Mar 29, 2018 at 05:18:53PM +0200, Johannes Schindelin wrote: > We already have a test demonstrating that removing the last entry from a > config section fails to remove the section header of the now-empty > section. > > The same can happen, of course, if we remove the last entries in one

[PATCH 5/9] t1300: `--unset-all` can leave an empty section behind (bug)

2018-03-29 Thread Johannes Schindelin
We already have a test demonstrating that removing the last entry from a config section fails to remove the section header of the now-empty section. The same can happen, of course, if we remove the last entries in one fell swoop. This is *also* a bug, and should be fixed at the same time.