worktree.c
7.55 KB
-
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