From d05bbf16af2379e816cbc5cdbf0984a13a62173d Mon Sep 17 00:00:00 2001 From: Oleg Broytman Date: Sat, 8 Apr 2023 18:45:28 +0300 Subject: [PATCH] Feat(submodules/remove): Improve error message --- submodules/remove | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/submodules/remove b/submodules/remove index 23af550..4b38d1a 100755 --- a/submodules/remove +++ b/submodules/remove @@ -8,8 +8,8 @@ fi cd "`git rev-parse --show-toplevel`" || exit 1 if [ \! -f .gitmodules ]; then - echo "The command must be run in the top-level directory" >&2 - echo "of a repository with submodules" >&2 + echo "Cannot find .gitmodules. The command must be run " >&2 + echo "in the top-level directory of a repository with submodules" >&2 exit 1 fi -- 2.39.5