worktree: upgrade lock to an int

This commit is contained in:
Edward Thomson 2017-06-04 22:44:30 +01:00
parent 883eeb5f90
commit f0848dd7e0

View File

@ -77,7 +77,7 @@ GIT_EXTERN(int) git_worktree_validate(const git_worktree *wt);
typedef struct git_worktree_add_options {
unsigned int version;
char lock; /**< lock newly created worktree */
int lock; /**< lock newly created worktree */
} git_worktree_add_options;
#define GIT_WORKTREE_ADD_OPTIONS_VERSION 1