Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
Merge branch 'jc/max-io-size-and-ssize-max'
[gitweb.git]
/
git-submodule.sh
diff --git
a/git-submodule.sh
b/git-submodule.sh
index 9245abfd4263881bdd6d0f21f648b46201b52a2d..36797c3c00f4890cfb6f176f298e050da7eb5a34 100755
(executable)
--- a/
git-submodule.sh
+++ b/
git-submodule.sh
@@
-423,7
+423,7
@@
cmd_add()
sed -e '
s|//*|/|g
s|^\(\./\)*||
- s|/\
./
|/|g
+ s|/\
(\./\)*
|/|g
:start
s|\([^/]*\)/\.\./||
tstart