Skip to content

Commit 75d5fc7

Browse files
committed
Fix overwrites from files in the original branch which causes changes in the current branch to be missed until the next commit
1 parent 9ebc83c commit 75d5fc7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/TfvcMigrator/RepositoryBranchMapping.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ public RepositoryBranchMapping WithSubdirectoryMapping(string branchDirectory, s
7373

7474
if (SubdirectoryMapping is var (branch, target))
7575
{
76-
if (PathUtils.IsOrContains(itemPath, target))
76+
if (PathUtils.IsOrContains(target, itemPath))
7777
return null;
7878

7979
if (PathUtils.IsOrContains(branch, itemPath))

0 commit comments

Comments
 (0)