all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: "Gerd Möllmann" <gerd.moellmann@gmail.com>
Cc: acorallo@gnu.org, emacs-devel@gnu.org
Subject: Re: scratch/igc as feature branch
Date: Thu, 04 Jul 2024 09:15:35 +0300	[thread overview]
Message-ID: <86cyntadiw.fsf@gnu.org> (raw)
In-Reply-To: <m28qyhsshf.fsf@pro2.fritz.box> (message from Gerd Möllmann on Thu, 04 Jul 2024 06:15:08 +0200)

> From: Gerd Möllmann <gerd.moellmann@gmail.com>
> Cc: emacs-devel@gnu.org
> Date: Thu, 04 Jul 2024 06:15:08 +0200
> 
> Andrea Corallo <acorallo@gnu.org> writes:
> 
> >> Does it mean that in the end, before merging, every commit must have a
> >> conforming commit message?
> >
> > I don't know if we have to be 100% strict on this, my opinion is that
> > would be a pity to loose the history of the branch we already have, but
> > others might have other opinions.  
> 
> Not sure what you mean with loosing the history. Do you mean the git
> history?

Yes.

> If so, how would you loose that? Squashing? I'm confused.

If you rebase or squash, you lose the Git history of the branch.

> > OTOH given we know *now* that the goal is to try to merge, it would
> > feel very weired to me to deliberatly ignore what we have in
> > CONTRIBUTE as requirements for commits we are writing now and we know
> > we want to include.
> 
> Sorry, I was asking about existing commits, not the future. I'm asking
> because you mentioned rebasing which I take to mean interactive rebasing
> to write new commit messages otherwise I don't know how rebasing comes
> into play.

He mean "git rebase" instead of "git merge">  I don't think this is
what you mean when you say "interactive rebasing".

> My question is if that's correct and if so who is supposed to write all
> these commit messages? And the number of commits give an impression of
> the amount of work involved.

See my response: there's no need to write such massive log messages.

> >> Also, there are probably many hundreds of
> >> commits that are not in scratch/igc at all, but only in my original.
> >> What's with those?
> >
> > We are discussing igc, how do these other commits come into play?
> 
> The igc branch on github is the original, containing the whole truth
> from day 1. I created scratch/igc by taking my changes after some 500+
> commits and applying them to master at that time. (And FWIW I'm not
> using scratch/igc for anything.) I suppose you know all that.
> 
> My question is what's with commit message of the initial commit in
> scratch/igc? There is definitely a cut point there. The history of 500
> commits is lost. Git history.

There's nothing we can reasonably do with that, so don't worry about
that.  In the final merge commit we'll need to describe changes
relative to the fork point, where the scratch/igc branch was forked
from the-then master, that's all.



  reply	other threads:[~2024-07-04  6:15 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-07-03 12:40 scratch/igc as feature branch Andrea Corallo
2024-07-03 17:44 ` Gerd Möllmann
2024-07-03 19:01   ` Andrea Corallo
2024-07-03 19:29     ` Gerd Möllmann
2024-07-03 19:37       ` Gerd Möllmann
2024-07-04  4:58         ` Eli Zaretskii
2024-07-04  6:19           ` Gerd Möllmann
2024-07-03 22:04       ` Andrea Corallo
2024-07-04  4:15         ` Gerd Möllmann
2024-07-04  6:15           ` Eli Zaretskii [this message]
2024-07-04  4:49       ` Eli Zaretskii
2024-07-04  6:14         ` Gerd Möllmann
2024-07-04  6:26           ` Eli Zaretskii
2024-07-04  6:55             ` Gerd Möllmann
2024-07-04  7:41               ` Eli Zaretskii

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=86cyntadiw.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=acorallo@gnu.org \
    --cc=emacs-devel@gnu.org \
    --cc=gerd.moellmann@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.
Code repositories for project(s) associated with this external index

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

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.