diff --git a/src/AutoMerge/Branches/BranchesViewModel.cs b/src/AutoMerge/Branches/BranchesViewModel.cs index 00b49e1..1723ad0 100644 --- a/src/AutoMerge/Branches/BranchesViewModel.cs +++ b/src/AutoMerge/Branches/BranchesViewModel.cs @@ -478,7 +478,7 @@ private static ItemIdentifier GetTargetPath(ICollection mergesRe private static bool IsTargetPath(ItemIdentifier mergeRelations, ItemIdentifier branch) { - return mergeRelations.Item.Contains(branch.Item + "/"); + return mergeRelations.Item.Contains(branch.Item + "/") || mergeRelations.Item == branch.Item; } private static string CalculateTopFolder(IList changes)