On Sun, Jan 12, 2020 at 5:17 AM Eric Sunshine <sunshine@xxxxxxxxxxxxxx> wrote: > +/* > + * Return branch name of current worktree -- even if HEAD is detached -- or > + * NULL if no branch is associated with worktree. Caller is responsible for > + * freeing result. > + */ > +static char *get_worktree_branch() This would of course be: static char *get_worktree_branch(void)