sequencer: introduce todo_list_write_to_file()
[gitweb.git] / worktree.c
index e6a65ec6842d1a18a0463d774be0ab920cbee5a9..d6a0ee7f730d96a7e8cc04095ddafb43c937105a 100644 (file)
@@ -235,7 +235,7 @@ int is_main_worktree(const struct worktree *wt)
        return !wt->id;
 }
 
-const char *is_worktree_locked(struct worktree *wt)
+const char *worktree_lock_reason(struct worktree *wt)
 {
        assert(!is_main_worktree(wt));