git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Martin Langhoff" <martin.langhoff@gmail.com>
To: "Linus Torvalds" <torvalds@linux-foundation.org>
Cc: "Xavier Maillard" <zedek@gnu.org>,
	"J. Bruce Fields" <bfields@fieldses.org>,
	git@vger.kernel.org
Subject: Re: git merge and merge message
Date: Mon, 12 Mar 2007 16:07:02 +1300	[thread overview]
Message-ID: <46a038f90703112007y2baf7205v56a1ad4b784e93f0@mail.gmail.com> (raw)
In-Reply-To: <Pine.LNX.4.64.0703111309410.9690@woody.linux-foundation.org>

On 3/12/07, Linus Torvalds <torvalds@linux-foundation.org> wrote:
> The "don't merge, just fast-forward" is the right thing to do for working
> together. However, I can well imagine that if you actually work with
> branches not as "distributed development", but *just* as "topic branches",
> then having the "useless" merge (with the parents actually being parents
> of each other) migth actually be nice from a documentation standpoint.

Well, actually I do quite a bit of work in private repos, and it is
more useful to know *trivially* that the branches are in the same
place, and get me and my team into the "it's about the content,
stupid" mindset.

So after all the flamefesting, I drank the content-is-king koolaid and
if a pull leads to a fast-forward, I'm happy. If it's a pointless
merge I often rebase to linearise.

> I'm torn on this.

Man, you're getting soft in the middle ;-) First, git gets a newline
conversion option to please windows users that don't use the many GOOD
programming editors that know a unix newline from a UFO (and those are
the majority these days, or so I hear). And now _this_! Tsk, tsk!

> I really dislike anything but fast-forward, because I
> have a strong suspicion that it will cause "alpha male" behaviour (where
> maintainers use the "useless merge" as a way to mark their territory),
> which I think is actually really bad form.

I share your concern. And for Xavier's case ref logs should do the
trick anyway.

cheers,


m

      parent reply	other threads:[~2007-03-12  3:07 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-03-11 15:05 git merge and merge message Xavier Maillard
2007-03-11 16:04 ` J. Bruce Fields
2007-03-11 16:28   ` [PATCH] git-merge: warn when -m provided on a fast forward J. Bruce Fields
2007-03-11 18:15   ` git merge and merge message Xavier Maillard
2007-03-11 20:19     ` Linus Torvalds
2007-03-11 20:31       ` Avi Kivity
2007-03-11 21:05         ` Linus Torvalds
2007-03-12 17:26           ` Avi Kivity
2007-03-11 21:41         ` Johannes Schindelin
2007-03-12  2:03           ` Junio C Hamano
2007-03-12 17:31           ` Avi Kivity
2007-03-11 20:56       ` Junio C Hamano
2007-03-13  8:55         ` [RFC] git log --first-parent Junio C Hamano
2007-03-13 14:17           ` Jeff King
2007-03-12  3:07       ` Martin Langhoff [this message]

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=46a038f90703112007y2baf7205v56a1ad4b784e93f0@mail.gmail.com \
    --to=martin.langhoff@gmail.com \
    --cc=bfields@fieldses.org \
    --cc=git@vger.kernel.org \
    --cc=torvalds@linux-foundation.org \
    --cc=zedek@gnu.org \
    /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 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).