FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Flag checkout_opts in git_reset as optional by rcjsuen · Pull Request #4109 · libgit2/libgit2 · GitHub

Repository navigation

Flag checkout_opts in git_reset as optional - #4109

Merged
ethomson merged 1 commit into
libgit2:masterfrom
rcjsuen:patch-1
Feb 8, 2017
Merged

ethomson merged 1 commit into
libgit2:masterfrom
rcjsuen:patch-1

Conversation

rcjsuen commented Feb 4, 2017

Copy link
Copy Markdown
Contributor

The documentation for git_reset doesn't state that check-out_opts can be optional in its documentation. However, if you look at a test file you will see that NULL is used everywhere.

The header file should be updated to reflect that check_opts is actually an optional argument.

The check_outs argument can be NULL and should be flagged accordingly
in the header file.

ethomson commented Feb 8, 2017

Copy link
Copy Markdown
Member

Thanks! I really appreciate you going through the docs here - these are things that really help people get started with using the library. ❤️

This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants


Back | FazBrowse Home | New Git URL