From: Thomas Rast <trast@student.ethz.ch>
To: Jay Soffian <jaysoffian@gmail.com>
Cc: Junio C Hamano <gitster@pobox.com>, git <git@vger.kernel.org>
Subject: Re: Merge commit subjects git.git
Date: Sun, 18 Jul 2010 17:33:59 +0200 [thread overview]
Message-ID: <201007181733.59704.trast@student.ethz.ch> (raw)
In-Reply-To: <AANLkTikavL0DH8FgFxBw7hbGLtj2tqxnP-BT77zo5FJT@mail.gmail.com>
Jay Soffian wrote:
> Color me curious, but why do the merge commit message in git.git
> sometimes look like this:
>
> Merge branch 'jn/paginate-fix'
>
> And other times like this:
>
> Merge remote branch 'ko/master' into jc/read-tree-cache-tree-fix
>
> I don't really see any rhyme or reason about when the "into ..." is
> there and when it's not.
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))
strbuf_addch(out, '\n');
else
strbuf_addf(out, " into %s\n", current_branch);
}
--
Thomas Rast
trast@{inf,student}.ethz.ch
next prev parent reply other threads:[~2010-07-18 15:34 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-07-18 8:22 Merge commit subjects git.git Jay Soffian
2010-07-18 15:33 ` Thomas Rast [this message]
2010-07-18 16:18 ` Ævar Arnfjörð Bjarmason
2010-07-18 16:56 ` Sverre Rabbelier
2010-07-18 17:22 ` Ævar Arnfjörð Bjarmason
2010-07-18 18:03 ` Ilari Liusvaara
2010-07-19 14:10 ` Nicolas Sebrecht
2010-07-19 16:31 ` Junio C Hamano
2010-07-19 17:23 ` Jay Soffian
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=201007181733.59704.trast@student.ethz.ch \
--to=trast@student.ethz.ch \
--cc=git@vger.kernel.org \
--cc=gitster@pobox.com \
--cc=jaysoffian@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.