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

Git Add #127

Merged
merged 3 commits into from
May 2, 2018
Merged

Git Add #127

merged 3 commits into from
May 2, 2018

Conversation

tengyifei
Copy link
Member

@mdiep This is the second PR after Swift 4.1 implementing git add by path. Once #126 is merged I can rebase this on top of master.

@@ -583,6 +583,33 @@ final public class Repository {
return iterator
}

/// Get the index for the repo. The caller is responsible for freeing the index.
public func unsafeIndex() -> Result<OpaquePointer, NSError> {
Copy link
Contributor

Choose a reason for hiding this comment

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

Let's not make this public. Unsafe operation should be kept internal.

@mdiep
Copy link
Contributor

mdiep commented May 1, 2018

This looks good apart from the one note above!

@tengyifei
Copy link
Member Author

@mdiep made that change!

@mdiep mdiep merged commit 25f3ecc into SwiftGit2:master May 2, 2018
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.

None yet

2 participants