git-submodule.sh: align error reporting for update mode to use path
commitff03d9306c7dbc2011c0a6660359d9074e4a3ab3
authorStefan Beller <sbeller@google.com>
Fri, 3 Aug 2018 22:23:16 +0000 (3 15:23 -0700)
committerJunio C Hamano <gitster@pobox.com>
Fri, 3 Aug 2018 22:37:12 +0000 (3 15:37 -0700)
tree63079f955e4c2523618f42b034ac59e674d1153a
parent1d89318c48d233d52f1db230cf622935ac3c69fa
git-submodule.sh: align error reporting for update mode to use path

All other error messages in cmd_update are reporting the submodule based
on its path, so let's do that for invalid update modes, too.

Signed-off-by: Stefan Beller <sbeller@google.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
git-submodule.sh