Skip to content

Commit 6ba1a47

Browse files
committed
.gitmodules: use relative submodule URLs.
The previously configured URLs were project homepages [1], not Git repositories [2]. Rather than hardcode a full URL here, it's probably better to just use a relative URL. `git submodule` interprets URLs from .gitmodules relative to the superproject's origin, so $ git clone git://github.com/inducer/pycuda.git sets up $ git config remote.origin.url git://github.com/inducer/pycuda.git so the new .gitmodules URLs resolve to git://github.com/inducer/bpl-subset.git git://github.com/inducer/compyte.git [1]: http://github.com/inducer/bpl-subset [2]: https://github.com/inducer/bpl-subset.git git://github.com/inducer/bpl-subset.git
1 parent 12969df commit 6ba1a47

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎.gitmodules‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[submodule "bpl-subset"]
22
path = bpl-subset
3-
url = http://github.com/inducer/bpl-subset
3+
url = ../bpl-subset.git
44
[submodule "pycuda/compyte"]
55
path = pycuda/compyte
6-
url = http://github.com/inducer/compyte
6+
url = ../compyte.git

0 commit comments

Comments
 (0)