unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Romain Francoise <romain@orebokech.com>
Cc: emacs-devel@gnu.org
Subject: Re: Header lines of commit messages
Date: Sat, 26 Jun 2010 18:01:52 +0300	[thread overview]
Message-ID: <83hbkpdehr.fsf@gnu.org> (raw)
In-Reply-To: <87k4pldikb.fsf@elegiac.orebokech.com>

> From: Romain Francoise <romain@orebokech.com>
> Date: Sat, 26 Jun 2010 15:33:56 +0200
> Cc: emacs-devel@gnu.org
> 
> Eli Zaretskii <eliz@gnu.org> writes:
> 
> > The header line that summarizes the commit conveys useless
> > information.  It should state the essence of the change instead, so
> > that people who use "bzr log --line" will be able to grasp the purpose
> > of the change without looking at the full text.
> 
> For changes that are made directly in Emacs, yes.
> 
> In this case, org-mode is maintained outside Emacs and I'm just
> merging a fix from the original repository.

I don't see why this is different.

> If we followed the logic that the header line should always
> accurately describe the change, we wouldn't allow commits like these
> either:
> 
> 100593: Romain Francoise 2010-06-12 Synch with Gnus trunk.
> 100575: Katsumi Yamaoka 2010-06-10 [merge] Synch with Gnus trunk.
> 100541: Katsumi Yamaoka 2010-06-07 [merge] Synch with Gnus trunk.
> 100498: Katsumi Yamaoka 2010-06-02 [merge] Synch with Gnus trunk.

For merges that bring in a lot of unrelated changes, this is
acceptable, because there's no practical way to come up with a
meaningful header line.  But in your case, you cherry-picked a single
change set that can be summarized with a short header line.

> the fact that it's a single commit rather than a bunch of
> unrelated changes doesn't really change anything.

I think it does: describing this single commit with a short meaningful
text is possible and reasonably easy.

> In an ideal world Emacs would be using Git, and org-mode, Gnus, ERC
> and others would just be submodules pointing to a given branch of
> the original repository. Then doing such a merge would not lose
> information. But we're stuck with bzr + patch.

No, in an ideal world, org-mode, Gnus, ERC, etc. would be using
Bazaar, and Bazaar would be fast enough for them to have no reason to
use Git.

In any case, I don't see a reason to punish Emacs for using Bazaar.
(Your text sounds like saying: you decided to use Bazaar, so now you
get to pay for it.)

But that has nothing to do with the issue at hand.  I'm sorry that you
disagree with me, because it means more meaningless commit messages
are to come.



  reply	other threads:[~2010-06-26 15:01 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-06-26 10:43 Header lines of commit messages Eli Zaretskii
2010-06-26 13:33 ` Romain Francoise
2010-06-26 15:01   ` Eli Zaretskii [this message]
2010-06-26 15:04   ` Stephen J. Turnbull
2010-06-26 15:27     ` Eli Zaretskii
2010-06-26 17:08       ` Stephen J. Turnbull
2010-06-26 18:16         ` Eli Zaretskii
2010-06-27 12:36           ` Stephen J. Turnbull
2010-06-30 18:36           ` Ted Zlatanov
2010-06-30 21:08             ` Eli Zaretskii
2010-07-01 13:02               ` Ted Zlatanov

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

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=83hbkpdehr.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=emacs-devel@gnu.org \
    --cc=romain@orebokech.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.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

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 read-only IMAP folder(s) and NNTP newsgroup(s).