git/list[1] front-page[2] threads[3] people[4] search[5] about
 

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)
Previous: Eric Sunshine
Message 3 of 3 in “branch: let '--edit-description' default to rebased/bisected branch”
  1. branch: let '--edit-description' default to rebased/bisected branchmarcandre.lureau@redhat.com, Jan 12, 2020
  2. Eric SunshineJan 12, 2020
  3. Eric SunshineJan 12, 2020

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.