Lock worktree if not already locked
Lock a worktree, optionally specifying a reason why the linked working tree is being locked.
@param wt Worktree to lock @param reason Reason why the working tree is being locked @return 0 on success, non-zero otherwise
See Implementation
Lock worktree if not already locked
Lock a worktree, optionally specifying a reason why the linked working tree is being locked.
@param wt Worktree to lock @param reason Reason why the working tree is being locked @return 0 on success, non-zero otherwise