Skip to content

Commit 482346c

Browse files
committed
Add .git extension to submodule paths missing it
Fixes a problem where submodules could not be cloned under some git configurations. Specifically, when [email protected]:.insteadOf = https://github.com/ is set.
1 parent 0be2c30 commit 482346c

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

.gitmodules

+7-7
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
url = https://github.com/rust-lang-nursery/rls.git
2929
[submodule "src/libcompiler_builtins"]
3030
path = src/libcompiler_builtins
31-
url = https://github.com/rust-lang-nursery/compiler-builtins
31+
url = https://github.com/rust-lang-nursery/compiler-builtins.git
3232
[submodule "src/tools/clippy"]
3333
path = src/tools/clippy
3434
url = https://github.com/rust-lang-nursery/rust-clippy.git
@@ -43,24 +43,24 @@
4343
url = https://github.com/alexcrichton/dlmalloc-rs.git
4444
[submodule "src/doc/rust-by-example"]
4545
path = src/doc/rust-by-example
46-
url = https://github.com/rust-lang/rust-by-example
46+
url = https://github.com/rust-lang/rust-by-example.git
4747
[submodule "src/llvm-emscripten"]
4848
path = src/llvm-emscripten
49-
url = https://github.com/rust-lang/llvm
49+
url = https://github.com/rust-lang/llvm.git
5050
[submodule "src/stdsimd"]
5151
path = src/stdsimd
52-
url = https://github.com/rust-lang-nursery/stdsimd
52+
url = https://github.com/rust-lang-nursery/stdsimd.git
5353
[submodule "src/tools/lld"]
5454
path = src/tools/lld
5555
url = https://github.com/rust-lang/lld.git
5656
[submodule "src/libbacktrace"]
5757
path = src/libbacktrace
58-
url = https://github.com/rust-lang-nursery/libbacktrace
58+
url = https://github.com/rust-lang-nursery/libbacktrace.git
5959
[submodule "src/tools/lldb"]
6060
path = src/tools/lldb
61-
url = https://github.com/rust-lang-nursery/lldb/
61+
url = https://github.com/rust-lang-nursery/lldb.git
6262
branch = rust-release-70
6363
[submodule "src/tools/clang"]
6464
path = src/tools/clang
65-
url = https://github.com/rust-lang-nursery/clang/
65+
url = https://github.com/rust-lang-nursery/clang.git
6666
branch = release_70

0 commit comments

Comments
 (0)