Subject: Re: [PATCH 3/3] worktree: reject NULL worktree in get_worktree_git_dir()

From: Phillip Wood <[email-masked]>
Date: Sat, 14 Mar 2026 20:09:34 +0000

On 13/03/2026 21:42, Junio C Hamano wrote:
> 
> <worktree.h> still has
> 
>      /*
>       * Return git dir of the worktree. Note that the path may be relative.
>       * If wt is NULL, git dir of current worktree is returned.
>       */
>      char *get_worktree_git_dir(const struct worktree *wt);

Good catch, I'll fix that and send a re-roll

Thanks

Phillip