File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -104,9 +104,9 @@ module_name()
104
104
re=$( printf ' %s\n' " $1 " | sed -e ' s/[].[^$\\*]/\\&/g' )
105
105
name=$( git config -f .gitmodules --get-regexp ' ^submodule\..*\.path$' |
106
106
sed -n -e ' s|^submodule\.\(.*\)\.path ' " $re " ' $|\1|p' )
107
- test -z " $name " &&
108
- die " $( eval_gettext " No submodule mapping found in .gitmodules for path '\$ path'" ) "
109
- echo " $name "
107
+ test -z " $name " &&
108
+ die " $( eval_gettext " No submodule mapping found in .gitmodules for path '\$ path'" ) "
109
+ echo " $name "
110
110
}
111
111
112
112
#
@@ -130,7 +130,7 @@ module_clone()
130
130
131
131
gitdir=
132
132
gitdir_base=
133
- name=$( module_name " $path " )
133
+ name=$( module_name " $path " 2> /dev/null )
134
134
base_path=$( dirname " $path " )
135
135
136
136
gitdir=$( git rev-parse --git-dir)
You can’t perform that action at this time.
0 commit comments