Skip to contentSkip to conversation

use absolute URLs for .gitmodules

PATCH In review Paolo Bonzini 3 participants 4 messages Mar 5, 2010 – Mar 9, 2010

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 use absolute URLs for .gitmodules

The relative URLs do not work when cloning a fork of qemu or when cloning from the Savannah URL.

---
 .gitmodules |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
.gitmodules +2 -2
index dd4745e..5217ce7 100644
@@ -1,6 +1,6 @@
 [submodule "roms/vgabios"]
 	path = roms/vgabios
-	url = ../vgabios.git
+	url = git://git.qemu.org/vgabios.git/
 [submodule "roms/seabios"]
 	path = roms/seabios
-	url = ../seabios.git
+	url = git://git.qemu.org/seabios.git/
Signature · 1 line
1.6.6
#1 lore raw
Quoted 15 lines · Paolo Bonzini

The relative URLs do not work when cloning a fork of qemu or when cloning from the Savannah URL.

---
 .gitmodules |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
.gitmodules +0 -0
index dd4745e..5217ce7 100644

.gitmodules line 6

Quoted 8 lines
.gitmodules +2 -2
@@ -1,6 +1,6 @@
 [submodule "roms/vgabios"]
 	path = roms/vgabios
-	url = ../vgabios.git
+	url = git://git.qemu.org/vgabios.git/
 [submodule "roms/seabios"]
 	path = roms/seabios
-	url = ../seabios.git
+	url = git://git.qemu.org/seabios.git/

Is the slash at the end of the URL really wanted?

Signature · 2 lines
Aurelien Jarno                          GPG: 1024D/F1BCDB73
[email protected]                 http://www.aurel32.net
#2 lore raw
Quoted 1 line · Aurelien Jarno

Is the slash at the end of the URL really wanted?

It works either with or without.

Paolo

#3 lore raw
In reply to Paolo Bonzini
Quoted 16 lines · Paolo Bonzini

The relative URLs do not work when cloning a fork of qemu or when cloning from the Savannah URL.

---
  .gitmodules |    4 ++--
  1 files changed, 2 insertions(+), 2 deletions(-)
.gitmodules +0 -0
index dd4745e..5217ce7 100644

.gitmodules line 6

Quoted 8 lines
.gitmodules +2 -2
@@ -1,6 +1,6 @@
  [submodule "roms/vgabios"]
  	path = roms/vgabios
-	url = ../vgabios.git
+	url = git://git.qemu.org/vgabios.git/
  [submodule "roms/seabios"]
  	path = roms/seabios
-	url = ../seabios.git
+	url = git://git.qemu.org/seabios.git/

Relative URLs are more friendly for users of proxies.

Regards,

Anthony Liguori