submodule: warn about non-submodules
authorJohannes Schindelin <redacted>
Sat, 7 Feb 2009 13:43:15 +0000 (14:43 +0100)
committerJunio C Hamano <redacted>
Sat, 7 Feb 2009 20:49:58 +0000 (12:49 -0800)
commit496917b721adae11e596cd44b13cb8a49c388de7
tree4d6be3ccbbf938eb523fb62cbcd21297d33056b8
parentf3670a5749d704fe1edee4201f9b23adbf0bf967
submodule: warn about non-submodules

Earlier, when you called

        git submodule some/bogus/path

Git would silently ignore the path, without warning the user about the
likely mistake.  Now it does.

Signed-off-by: Johannes Schindelin <redacted>
Signed-off-by: Junio C Hamano <redacted>
git-submodule.sh
t/t7400-submodule-basic.sh
git clone https://git.99rst.org/PROJECT