Re: [PATCH v4] branch: let '--edit-description' default to rebased/bisected branch
- From
Eric Sunshine <sunshine@sunshineco.com>
- Date
- Jan 12, 2020, 10:55 UTC
- Message-ID
- <CAPig+cQqKvBc3ugfVtmaSZb+pBkp2wkBG=++GTPODp7oCaGBhQ@mail.gmail.com>
- In-Reply-To
- <20200112101735.GA19676@flurp.local>
On Sun, Jan 12, 2020 at 5:17 AM Eric Sunshine <sunshine@sunshineco.com> wrote:
Show 6 quoted lines
> +/* > + * 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)