Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
.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 6ba1a47
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .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.