Ah, I didn't know that's how GitVersion works. Cool I will adjust the PR
accordingly.

On Wednesday, March 26, 2014, nulltoken <notifications@github.com> wrote:

> In GitVersion/BuildServers/GitHelper.cs:
>
> >              }
> >          }
> >
> > +        static void FetchMissingMasterRefSpec(Repository repo, Remote remote)
> > +        {
> > +            if (remote.FetchRefSpecs.Any(r => r.Source == "refs/heads/master"))
> > +                return;
> > +
> > +            string masterRefSpec = string.Format("+refs/heads/master:refs/remotes/{0}/master", remote.Name);
>
> Thanks a lot for your feedback. I think I now have a much clearer
> understanding regarding how AppVeyor works.
>
> Taking this into account, as GitVersion picks the correct versioning
> scheme (GitFlow or GitHubFlow) depending on *whether the develop branch
> exists or not
> <https://github.com/Particular/GitVersion/blob/master/GitVersion/GitVersionFinder.cs#L9-L24>*,
> I think the code above should also add the fetch refspec for it if it
> doesn't exists.
>
> --
> Reply to this email directly or view it on GitHub<https://github.com/Particular/GitVersion/pull/123/files#r10975952>
> .
>