git@vger.kernel.org mailing list mirror (one of many)
 help / color / mirror / code / Atom feed
From: "Sverre Rabbelier" <alturin@gmail.com>
To: "Lea Wiemann" <lewiemann@gmail.com>
Cc: "Git Mailing List" <git@vger.kernel.org>,
	"John Hawley" <warthog19@eaglescrag.net>
Subject: Re: Development strategy
Date: Mon, 2 Jun 2008 20:30:24 +0200	[thread overview]
Message-ID: <bd6139dc0806021130p2cc442a3qfe9c00681fdb05e3@mail.gmail.com> (raw)
In-Reply-To: <48441715.4010507@gmail.com>

On Mon, Jun 2, 2008 at 5:51 PM, Lea Wiemann <lewiemann@gmail.com> wrote:
> 2) I should probably also try to squash patches into larger ones.  This will
> make it easier to make changes in older commits, since I don't have to edit
> several commits, and it reduces the probability of merge conflicts.  I'm not
> sure how much squashing is appropriate though: For example, would it be okay
> to squash a fix like "Git.pm: fix documentation of hash_object" into a
> larger "Git.pm: add and fix several methods" commit, where I only mention
> the documentation-fix in the log message?  It would certainly be helpful in
> that it reduces the number of conflicts, but it will make the logs coarser.

Why not go for the win and do both? Keep your commit strategy as is,
and create a branch whenever you want review, say review-02-06 or such
and in that branch you squash the commits as appropriate (perhaps
StGit can help here). These patches are mostly not intended for
inclusion just yet (but for review only), right? Instead of sending
all the small commits you send a bigger one, perhaps with a link to
where the branch can be found for easy checkout. You can keep the
branch for the a record or delete it after the review and go on with
the next branch.

Cheers,

Sverre, who thinks a few RFC patches are in place soon for git-stats
too and is glad you are doing the fine-tuning wrt patch submission.

  reply	other threads:[~2008-06-02 18:31 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-06-02 15:51 Development strategy Lea Wiemann
2008-06-02 18:30 ` Sverre Rabbelier [this message]
2008-06-02 19:09   ` Jakub Narebski
2008-06-02 19:24     ` Sverre Rabbelier
2008-06-02 19:24     ` Johannes Schindelin
2008-06-02 19:39     ` Stephan Beyer
2008-06-02 20:02       ` Johannes Schindelin
2008-06-02 22:36   ` Lea Wiemann
2008-06-02 23:04     ` Sverre Rabbelier
2008-06-02 23:35 ` Junio C Hamano

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: http://vger.kernel.org/majordomo-info.html

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

  git send-email \
    --in-reply-to=bd6139dc0806021130p2cc442a3qfe9c00681fdb05e3@mail.gmail.com \
    --to=alturin@gmail.com \
    --cc=git@vger.kernel.org \
    --cc=lewiemann@gmail.com \
    --cc=sverre@rabbelier.nl \
    --cc=warthog19@eaglescrag.net \
    /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://80x24.org/mirrors/git.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).