We're updating the issue view to help you get more done. 

Checking if an ancestor is starting with one of the expected ancestors is not working as expected

Description

The Get-Ancestor ($ExpectedAncestors) function in git_base_functions.ps1 contains the following (shortened for brevity):

The part $Ancestor.StartsWith($ExpectedAncestors) (l.7) always returns $false, because of $Ancestor being a string, and $ExpectedAncestors being an array.

This causes the function to not find expected ancestors when they are not an exact match.

Status

Assignee

Marcel Holle

Reporter

Marcel Holle

Labels

None

Components

Fix versions

Affects versions

Priority

Normal
Configure