Ah, yeah, this finder probably just needs the repo and from commit passed in as parameters

Sent from my Windows Phone
________________________________
From: nulltoken<mailto:notifications@github.com>
Sent: ý20/ý12/ý2013 19:15
To: Particular/GitFlowVersion<mailto:GitFlowVersion@noreply.github.com>
Cc: Jake Ginnivan<mailto:jake@ginnivan.net>
Subject: Re: [GitFlowVersion] Introduced context class which has the Tip, CurrentBranch and Repo (#58)


In GitFlowVersion/BranchFinders/MasterVersionFinder.cs:

>      class MasterVersionFinder
>      {
> -        public Commit Commit;
> -        public IRepository Repository;
> -
> -        public VersionAndBranch FindVersion()
> +        public VersionAndBranch FindVersion(GitFlowVersionContext context)


Shouldn't we assert that context.CurrentBranch is null here?

—
Reply to this email directly or view it on GitHub<https://github.com/Particular/GitFlowVersion/pull/58/files#r8507853>.