Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

More docs for merge! #23495

Merged
merged 2 commits into from
Aug 29, 2017
Merged

More docs for merge! #23495

merged 2 commits into from
Aug 29, 2017

Conversation

kshyatt
Copy link
Contributor

@kshyatt kshyatt commented Aug 29, 2017

Forgot to add GitAnnotated to the devdocs, fixed that too.

@kshyatt kshyatt added docs This change adds or pertains to documentation libgit2 The libgit2 library or the LibGit2 stdlib module labels Aug 29, 2017
@kshyatt kshyatt requested a review from ararslan August 29, 2017 01:16
head_ann = LibGit2.GitAnnotated(repo, "master")

# merge the branch in
LibGit2.merge!(repo, [upst_ann])
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this supposed to reference head_ann as well?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

derp no i c/ped this from the tests

@@ -111,6 +111,29 @@ function ffmerge!(repo::GitRepo, ann::GitAnnotated)
end

# Merge changes into current head
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This comment seem a bit superfluous now that we have a complete docstring?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think they aren't harming anyone by hanging around. In general I'd rather err on the side of having more context rather than less...

@@ -126,6 +149,40 @@ end

# Internal implementation of merge.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same with these

@kshyatt kshyatt merged commit 881ab49 into master Aug 29, 2017
@kshyatt kshyatt deleted the ksh/docmergeagain branch August 29, 2017 23:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs This change adds or pertains to documentation libgit2 The libgit2 library or the LibGit2 stdlib module
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants