worktree.h
862 Bytes
-
worktree: implement locking mechanisms · 2a503485
Working trees support locking by creating a file `locked` inside the tree's gitdir with an optional reason inside. Support this feature by adding functions to get and set the locking status.
Patrick Steinhardt committed