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

Re: Merge commit subjects git.git

From
Ævar Arnfjörð Bjarmason <avarab@gmail.com>
Date
Jul 18, 2010, 16:18 UTC
Message-ID
<AANLkTikhhjjRYPY4KWEJWUQjCw4TzhXRMvHRsaQ7BECe@mail.gmail.com>
In-Reply-To
<201007181733.59704.trast@student.ethz.ch>
On Sun, Jul 18, 2010 at 15:33, Thomas Rast <trast@student.ethz.ch> wrote:
Show 7 quoted lines
> A merge that does not have the 'into <branch>' bit is a merge to
> master:
>
> static void do_fmt_merge_msg_title(struct strbuf *out,
>        const char *current_branch) {
> [...]
>        if (!strcmp("master", current_branch))

Is there anything in Git that records what the canonical branch is? E.g. perl uses "blead", and gets these "into blead" merge commits every time it merges into the main branch.

The HEAD can move, so that can't be checked.
(not that this is an actual problem)
>                strbuf_addch(out, '\n');
>        else
>                strbuf_addf(out, " into %s\n", current_branch);
> }
Previous: Thomas RastNext: Sverre Rabbelier
Message 3 of 9 in “Merge commit subjects git.git”
  1. Jay SoffianJul 18, 2010
  2. Thomas RastJul 18, 2010
  3. Ævar Arnfjörð BjarmasonJul 18, 2010
  4. Sverre RabbelierJul 18, 2010
  5. Ævar Arnfjörð BjarmasonJul 18, 2010
  6. Ilari LiusvaaraJul 18, 2010
  7. Nicolas SebrechtJul 19, 2010
  8. Junio C HamanoJul 19, 2010
  9. Jay SoffianJul 19, 2010

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.