Skip to content
Permalink
Browse files

.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
  • Loading branch information...
wking committed Dec 8, 2012
1 parent 12969df commit 6ba1a47802ec896c6eccf3cebf1f9863989aeb4d
Showing with 2 additions and 2 deletions.
  1. +2 −2 .gitmodules
@@ -1,6 +1,6 @@
[submodule "bpl-subset"]
path = bpl-subset
url = http://github.com/inducer/bpl-subset
url = ../bpl-subset.git
[submodule "pycuda/compyte"]
path = pycuda/compyte
url = http://github.com/inducer/compyte
url = ../compyte.git

0 comments on commit 6ba1a47

Please sign in to comment.
You can’t perform that action at this time.