cake-contrib / Cake_Git

Cake AddIn that extends Cake with Git features using LibGit2 and LibGit2Sharp
https://cakebuild.net/extensions/cake-git
Other
39 stars 64 forks source link

Expose git describe --first-parent option #153

Open blhough opened 3 years ago

blhough commented 3 years ago

It would be helpful if the --first-parent option was exposed for git describe.

https://git-scm.com/docs/git-describe#Documentation/git-describe.txt---first-parent

libgit2sharp already supports the option so it should be easy to add I would hope. https://github.com/libgit2/libgit2sharp/blob/df3b22a754ef56da8d7e3c330ce2d783c2b7982e/LibGit2Sharp/DescribeOptions.cs#L66