]> git.ipfire.org Git - thirdparty/git.git/commit - submodule.c
submodule.c: stricter checking for submodules in is_submodule_modified
authorStefan Beller <sbeller@google.com>
Sat, 25 Mar 2017 00:36:08 +0000 (17:36 -0700)
committerJunio C Hamano <gitster@pobox.com>
Mon, 27 Mar 2017 16:48:19 +0000 (09:48 -0700)
commit5c896f7c3ec69f017d1e1be4164d558918f3ae4c
tree3063c5e74a79494457e286c0022e7615c7a9e9be
parentfcecf0b968b5e262200426ccf1d0b82495c261fe
submodule.c: stricter checking for submodules in is_submodule_modified

By having a stricter check in the superproject we catch errors earlier,
instead of spawning a child process to tell us.

Signed-off-by: Stefan Beller <sbeller@google.com>
Reviewed-by: Jonathan Nieder <jrnieder@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
submodule.c