Skip to content

Commit bb11af6

Browse files
committed
Expose refspecs in git_clone_opts
1 parent b11e993 commit bb11af6

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

include/git2/clone.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -164,6 +164,7 @@ typedef struct git_clone_options {
164164

165165
/*
166166
* The refspecs to use for the clone. If empty, all refs will be cloned.
167+
* example: {"main:main", "HEAD"}
167168
*/
168169
git_strarray refspecs;
169170
} git_clone_options;

0 commit comments

Comments
 (0)