8000 clone: refactor to pass clone options around · libgit2/libgit2@165a748 · GitHub
[go: up one dir, main page]

Skip to content

Commit 165a748

Browse files
committed
clone: refactor to pass clone options around
Instead of dealing with the clone options sub-options (fetch, checkout, etc) individually, treat them as a cohesive whole when passing them throughout the system. Additionally, move some functions around within the file to avoid unnecessary decls at the top of the file. And change a function signature to avoid conflating truth with error.
1 parent 6950bf6 commit 165a748

File tree

4 files changed

+229
-172
lines changed

4 files changed

+229
-172
lines changed

include/git2/checkout.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ typedef enum {
189189
*/
190190
GIT_CHECKOUT_NONE = (1u << 30),
191191

192-
/**
192+
/*
193193
* THE FOLLOWING OPTIONS ARE NOT YET IMPLEMENTED
194194
*/
195195

0 commit comments

Comments
 (0)
0