Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
git-submodule.sh: fix '/././' path normalization
[gitweb.git]
/
git-submodule.sh
diff --git
a/git-submodule.sh
b/git-submodule.sh
index 66f5f752c5fb6745ab409199deb775c4704ab3e6..6bf85f5afeeb7b5315525ab81669cf91852c8a75 100755
(executable)
--- a/
git-submodule.sh
+++ b/
git-submodule.sh
@@
-420,7
+420,7
@@
cmd_add()
sed -e '
s|//*|/|g
s|^\(\./\)*||
- s|/\
./
|/|g
+ s|/\
(\./\)*
|/|g
:start
s|\([^/]*\)/\.\./||
tstart