We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents c7be99e + 0170a3c commit ee82139Copy full SHA for ee82139
git-submodule.sh
@@ -291,9 +291,6 @@ module_clone()
291
# resolve any symlinks that might be present in $PWD
292
a=$(cd_to_toplevel && cd "$gitdir" && pwd)/
293
b=$(cd_to_toplevel && cd "$sm_path" && pwd)/
294
- # normalize Windows-style absolute paths to POSIX-style absolute paths
295
- case $a in [a-zA-Z]:/*) a=/${a%%:*}${a#*:} ;; esac
296
- case $b in [a-zA-Z]:/*) b=/${b%%:*}${b#*:} ;; esac
297
# Remove all common leading directories after a sanity check
298
if test "${a#$b}" != "$a" || test "${b#$a}" != "$b"; then
299
die "$(eval_gettext "Gitdir '\$a' is part of the submodule path '\$b' or vice versa")"
0 commit comments