Skip to content

Commit f0848dd

Browse files
committed
worktree: upgrade lock to an int
1 parent 883eeb5 commit f0848dd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/git2/worktree.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ GIT_EXTERN(int) git_worktree_validate(const git_worktree *wt);
7777
typedef struct git_worktree_add_options {
7878
unsigned int version;
7979

80-
char lock; /**< lock newly created worktree */
80+
int lock; /**< lock newly created worktree */
8181
} git_worktree_add_options;
8282

8383
#define GIT_WORKTREE_ADD_OPTIONS_VERSION 1

0 commit comments

Comments
 (0)