From: Eric Sunshine Date: Sun, 12 Jan 2020 10:55:19 GMT Subject: Re: [PATCH v4] branch: let '--edit-description' default to rebased/bisected branch Message-ID: In-Reply-To: <20200112101735.GA19676@flurp.local> On Sun, Jan 12, 2020 at 5:17 AM Eric Sunshine 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)