]> git.ipfire.org Git - thirdparty/git.git/commit - worktree.h
worktree: update documentation for lock_reason and lock_reason_valid
authorNickolai Belakovski <nbelakovski@gmail.com>
Tue, 30 Oct 2018 06:24:08 +0000 (23:24 -0700)
committerJunio C Hamano <gitster@pobox.com>
Wed, 31 Oct 2018 02:28:52 +0000 (11:28 +0900)
commite21cc076a31c8f6a39946f914338aa4dd6c9de3d
tree48a43881eaedbf537c32061092ec8ac5bb017fcc
parent4ede3d42dfb57f9a41ac96a1f216c62eb7566cc2
worktree: update documentation for lock_reason and lock_reason_valid

Clarify that these fields are to be considered implementation details
and direct the reader to use the is_worktree_locked function to retrieve
said information.

Signed-off-by: Nickolai Belakovski <nbelakovski@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
worktree.h