aboutsummaryrefslogtreecommitdiff
path: root/git-submodule-move-git-dir
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2017-11-07 16:38:30 -0200
committerSilvio Rhatto <rhatto@riseup.net>2017-11-07 16:38:30 -0200
commite07b797124a7c8d9127f1114ac01230e28c88bad (patch)
treedf4943853910e5bcf3144b7680623cf2cca1943b /git-submodule-move-git-dir
parent1fdd87c81c87368efff54d0cc318b491398a7594 (diff)
downloadutils-git-e07b797124a7c8d9127f1114ac01230e28c88bad.tar.gz
utils-git-e07b797124a7c8d9127f1114ac01230e28c88bad.tar.bz2
Adds git-submodule-move-all-git-dirs
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