Skip to content

Add options argument to GTRepository cloneFromURL#252

Merged
tiennou merged 4 commits into
libgit2:masterfrom
isaac:clone-options
Sep 15, 2013
Merged

Add options argument to GTRepository cloneFromURL#252
tiennou merged 4 commits into
libgit2:masterfrom
isaac:clone-options

Conversation

@isaac

@isaac isaac commented Sep 7, 2013

Copy link
Copy Markdown
Contributor

No description provided.

Comment thread Classes/GTRepository.h Outdated

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Doc update needed.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Also, if you could document the magic options keys, that would be wonderful !

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

@tiennou - could you please elaborate on what kind of doc update is needed?

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

My bad, since you mentioned moving one of the blocks in the options dict, seeing it here made me think the doc wasn't updated. ATM it just misses a list of the options keys and what they do.

@ghost ghost assigned tiennou Sep 9, 2013
@tiennou tiennou mentioned this pull request Sep 10, 2013
@isaac

isaac commented Sep 13, 2013

Copy link
Copy Markdown
Contributor Author

@jspahrsummers @tiennou - I think this PR is ready to merge now. I don't think we need to wait for #254 - we can open a new PR when #254 is ready or integrate the GTCredential changes for cloning directly into #254 - what do you guys think?

@tiennou

tiennou commented Sep 14, 2013

Copy link
Copy Markdown
Contributor

I'm fine with that, thanks for your work @isaac ;-).

Comment thread Classes/GTRepository.h Outdated

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

These keys should be file constants, and the documentation for them should appear on those constants.

@jspahrsummers

Copy link
Copy Markdown
Contributor

🍫

@isaac

isaac commented Sep 15, 2013

Copy link
Copy Markdown
Contributor Author

@jspahrsummers

Copy link
Copy Markdown
Contributor

👍 I'll let @tiennou handle the final review and merge.

@tiennou

tiennou commented Sep 15, 2013

Copy link
Copy Markdown
Contributor

I'm honored ;-). Looks good to me, so I'll just merge. I'll add the GTCredential stuff after that. Thanks again for the work, @isaac ;-).

Related: It seems libgit2 is adding init options to its clone method, but this can wait until someone has an use for it.

tiennou added a commit that referenced this pull request Sep 15, 2013
Add options argument to GTRepository cloneFromURL
@tiennou tiennou merged commit 460d576 into libgit2:master Sep 15, 2013
phatblat pushed a commit to phatblat/objective-git that referenced this pull request Sep 13, 2014
Add options argument to GTRepository cloneFromURL
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.

3 participants