git-submodule.sh: align error reporting for update mode to use path
authorStefan Beller <redacted>
Fri, 3 Aug 2018 22:23:16 +0000 (15:23 -0700)
committerJunio C Hamano <redacted>
Fri, 3 Aug 2018 22:37:12 +0000 (15:37 -0700)
commitff03d9306c7dbc2011c0a6660359d9074e4a3ab3
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 <redacted>
Signed-off-by: Junio C Hamano <redacted>
git-submodule.sh
git clone https://git.99rst.org/PROJECT