Commit 9747cf5
Fix nested submodule clone in inner source clone (#13819)
* Fix nested submodule clone in inner source clone
When a submodule has submodules, $sm_path only refers to the subpath from the immediate submodule parent. Based on this, it meant that nested submodules got cloned at the top level repo root. Instead, use $toplevel, which is the full path to the immediate parent.
* Attempt to remove trailing slash
* Add comments
* Update src/Microsoft.DotNet.Arcade.Sdk/tools/SourceBuild/SourceBuildArcadeBuild.targets
Co-authored-by: Matt Thalman <mthalman@microsoft.com>
---------
Co-authored-by: Matt Thalman <mthalman@microsoft.com>1 parent 3ddc98a commit 9747cf5
1 file changed
Lines changed: 13 additions & 1 deletion
Lines changed: 13 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
167 | 167 | | |
168 | 168 | | |
169 | 169 | | |
170 | | - | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
171 | 183 | | |
172 | 184 | | |
173 | 185 | | |
| |||
0 commit comments