Skip to content

Commit 5eb5436

Browse files
terrykzu
authored andcommitted
Fixed Git submodule issue in ThisAssembly.Git.targets
1 parent 5dcb801 commit 5eb5436

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/ThisAssembly.Git/ThisAssembly.Git.targets

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,8 @@
5555

5656
<!-- Add SourceRoot as a project property too -->
5757
<ItemGroup>
58-
<_ThisAssemblyGitSourceRoot Include="@(SourceRoot -> WithMetadataValue('SourceControl', 'git'))" />
58+
<_ThisAssemblyGitSourceRoot Include="@(SourceRoot -> WithMetadataValue('SourceControl', 'git'))"
59+
Exclude="@(SourceRoot -> HasMetadata('NestedRoot'))" />
5960
</ItemGroup>
6061

6162
<PropertyGroup>

0 commit comments

Comments
 (0)