kernelnewbies.kernelnewbies.org archive mirror
 help / color / mirror / Atom feed
From: vilhelm.gray@gmail.com (William Breathitt Gray)
To: kernelnewbies@lists.kernelnewbies.org
Subject: Management of duplicate commits in public repository
Date: Sat, 21 May 2016 12:57:42 -0400	[thread overview]
Message-ID: <57409386.703@gmail.com> (raw)

I'm curious how subsystem maintainers typically handle duplicate commits
in their public subsystem repositories. I'm referring to commits which
appear originally in their branch, but are cherry-pick'd to another
subsystem maintainer's repository, and then later merged back in; this
leads to the same textual changes appearing as two distinct commits
after the merge.

In my workflow, I typically rebase against the public repository before
I submit my patches to the subsystem maintainer. In this scenario, the
rebase drops commits which do not produce textual changes in my tree.
Thus, I never have duplicate commit messages in my private repository.

However, a subsystem repository is public, so subsystem maintainers
typically merge new releases of the Linux kernel, rather than rebase,
since history should not be written. If merges are continually
performed, will the subsystem repository not gradually accumulate
duplicate commits over time?

Are the duplicate commits simply accepted as the cost of operating a
public repository, or do the subsystem maintainers make an effort to
remove them before the merge?

William Breathitt Gray

             reply	other threads:[~2016-05-21 16:57 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-05-21 16:57 William Breathitt Gray [this message]
2016-05-21 18:01 ` Management of duplicate commits in public repository Greg KH

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=57409386.703@gmail.com \
    --to=vilhelm.gray@gmail.com \
    --cc=kernelnewbies@lists.kernelnewbies.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).