Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/AutoMerge/Branches/BranchesViewModel.cs
Original file line number Diff line number Diff line change
Expand Up @@ -478,7 +478,7 @@ private static ItemIdentifier GetTargetPath(ICollection<ItemIdentifier> 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<Change> changes)
Expand Down