diff options
-rwxr-xr-x | git-submodule.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/git-submodule.sh b/git-submodule.sh index 8e9e5eaaf8..5d29f82149 100755 --- a/git-submodule.sh +++ b/git-submodule.sh @@ -124,7 +124,7 @@ module_clone() reference="$3" gitdir= gitdir_base= - name=$(module_name "$path") + name=$(module_name "$path" 2>/dev/null) base_path=$(dirname "$path") gitdir=$(git rev-parse --git-dir) |