git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* git merge remote branch says "Merge commit ..."?
@ 2009-05-21 19:50 skillzero
  2009-05-22  7:49 ` Jeff King
  0 siblings, 1 reply; 10+ messages in thread
From: skillzero @ 2009-05-21 19:50 UTC (permalink / raw)
  To: git

I noticed that if I do 'git merge origin/branch' that the log message
says (using --log):

Merge commit 'origin/branch'

   * commit 'origin/branch':
     Fixed some bug.

If I do the same thing from a local tracking branch of origin/branch, it says:

Merge branch 'branch'

   * branch:
     Fixed some bug.

Is it expected that it say "commit" instead of "branch" when the
branch is not a local tracking branch? I sometimes merge from remote
branches when I don't need to do anything with that branch locally
(e.g. I already did the work on another computer and I'm just merging
the result into my test machine before I push to the shared server).

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2009-05-25  9:45 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-05-21 19:50 git merge remote branch says "Merge commit ..."? skillzero
2009-05-22  7:49 ` Jeff King
2009-05-22 17:29   ` Eric Raible
2009-05-22 17:54     ` Jeff King
2009-05-22 18:08       ` git merge remote branch says Eric Raible
2009-05-22 18:10         ` Jeff King
2009-05-22 18:30       ` git merge remote branch says "Merge commit ..."? Johannes Sixt
2009-05-23  9:17         ` Jeff King
2009-05-23  9:26           ` Junio C Hamano
2009-05-25  9:44             ` Jeff King

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).