worktree.c
17.5 KB
-
worktree: unlock should return 1 when the worktree isn't locked · 59c2e70e
The documentation states that git_worktree_unlock returns 0 on success, and 1 on success if the worktree wasn't locked. Turns out we were returning 0 in any of those cases.
Etienne Samson committed