Re: [PATCH v3 2/2] worktree: rename is_worktree_locked to worktree_lock_reason

2018-10-30 Thread Junio C Hamano
nbelakov...@gmail.com writes: > From: Nickolai Belakovski > > A function prefixed with 'is_' would be expected to return a boolean, > however this function returns a string. > > Signed-off-by: Nickolai Belakovski > --- Given that there is a clear documentation in worktree.h, and a pointer that

[PATCH v3 2/2] worktree: rename is_worktree_locked to worktree_lock_reason

2018-10-30 Thread nbelakovski
From: Nickolai Belakovski A function prefixed with 'is_' would be expected to return a boolean, however this function returns a string. Signed-off-by: Nickolai Belakovski --- builtin/worktree.c | 10 +- worktree.c | 2 +- worktree.h | 4 ++-- 3 files changed, 8