projects
/
git.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6982cce
)
Fix adding a submodule with a remote url
author
Daniel Barkalow
<barkalow@iabervon.org>
Sat, 29 Sep 2007 23:39:54 +0000
(19:39 -0400)
committer
Junio C Hamano
<gitster@pobox.com>
Sun, 30 Sep 2007 06:36:02 +0000
(23:36 -0700)
Without this, a non-path URL gets lost before the clone.
Signed-off-by: Daniel Barkalow <barkalow@iabervon.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
git-submodule.sh
patch
|
blob
|
history
diff --git
a/git-submodule.sh
b/git-submodule.sh
index 727b1d3206da6964affe80d92699cd39c1878e34..4aaaaab0d8450094efb8d2f8e82cc63383b91b48 100755
(executable)
--- a/
git-submodule.sh
+++ b/
git-submodule.sh
@@
-138,8
+138,8
@@
module_add()
# it is local
if base=$(get_repo_base "$repo"); then
repo="$base"
- realrepo=$repo
fi
+ realrepo=$repo
;;
esac