Esempio n. 1
0
 public override IEnumerable <string> FindSatisfying(IGit git, string repo)
 {
     return(git.ListTags(repo).Where((tag) => {
         // Match tag against constraint
         Semver semver;
         if (Semver.TryParse(tag, out semver))
         {
             return Condition.CompareTo(semver);
         }
         return false;
     }).SelectMany((tag) => {
         return git.CommitsForTag(repo, tag);
     }));
 }