submodule: defend against submodule.update = !command in .gitmodules
authorJonathan Nieder <jrnieder@gmail.com>
Thu, 5 Dec 2019 09:28:28 +0000 (01:28 -0800)
committerJohannes Schindelin <johannes.schindelin@gmx.de>
Fri, 6 Dec 2019 15:30:50 +0000 (16:30 +0100)
commitc1547450748fcbac21675f2681506d2d80351a19
tree6ef2c057f075f77f6e9f5d0c2ce1e49857add929
parent4cfc47de25be7be1cddb47dcfddab3f1f80e5c41
submodule: defend against submodule.update = !command in .gitmodules

In v2.15.4, we started to reject `submodule.update` settings in
`.gitmodules`. Let's raise a BUG if it somehow still made it through
from anywhere but the Git config.

Signed-off-by: Jonathan Nieder <jrnieder@gmail.com>
Signed-off-by: Johannes Schindelin <Johannes.Schindelin@gmx.de>
builtin/submodule--helper.c