pmiossec/git-tfs — pull request #5 by PeteW (2014-03-22 14:46:12+00:00)
Title: [WIP] Fix for GetPathInGitRepo and substrings

Bug in Sep.Git.Tfs.Core.GitTfsRemote::FindOrInitTfsRemoteOfChangeset(..). Finding the remote repository for a parent changeset doesnt always work right. GetPathInGitRepo fails when I have 2 branches [$/Pete-3.1] and [$/Pete-3.1.1] because both start with "$/Pete-3.1" they will both be returned as matches. If the wrong repo is returned, searching for a specific commit will fail. This causes infinite loop. By adding slash at the end or something you can fix infinite loop problem