aboutsummaryrefslogtreecommitdiff
path: root/git-submodule-move-git-dir
diff options
context:
space:
mode:
Diffstat (limited to 'git-submodule-move-git-dir')
-rwxr-xr-xgit-submodule-move-git-dir2
1 files changed, 1 insertions, 1 deletions
diff --git a/git-submodule-move-git-dir b/git-submodule-move-git-dir
index b30f247..8c28e66 100755
--- a/git-submodule-move-git-dir
+++ b/git-submodule-move-git-dir
@@ -27,7 +27,7 @@ elif [ ! -d "$MODULE" ]; then
elif [ -d "$MODULE/.git" ]; then
echo "module $MODULE already converted"
exit 1
-elif [ ! -d ".git" ]; then
+elif [ ! -e ".git" ]; then
echo "please run this command in the top-level repository folder"
exit 1
fi