From: Jeff King <peff@peff.net>
To: Nick Woolley <nickwoolley@yahoo.co.uk>
Cc: git@vger.kernel.org
Subject: Re: Bug in git-cvsexportcommit: can't commit files which have been removed from CVS
Date: Thu, 28 May 2009 16:06:35 -0400 [thread overview]
Message-ID: <20090528200635.GJ13499@coredump.intra.peff.net> (raw)
In-Reply-To: <4A1EC184.50107@yahoo.co.uk>
On Thu, May 28, 2009 at 05:53:24PM +0100, Nick Woolley wrote:
> I have a patch against the current version of git's repository which
> seems to fix the problem. This is actually three commits:
> - the fix,
> - an extension to t9200-git-cvsexportcommit.sh to test the fix
> - EOL whitespace-removal
>
> I'm hesitant to send all three as separate emails, even though the
> SubmittingPatches document seems to imply I should - should I squash
> them into one commit?
Don't worry about sending multiple messages to the list. It is the
normal behavior here. But you may want to collapse it somewhat:
1. If your whitespace removal is a cleanup in nearby code, then that
should probably come as the first patch.
2. Your fix and the test extension should probably come in the same
patch (we do sometimes do tests separately beforehand, marking them
to expect failure, but that is usually only because nobody has a
fix when the test is written :) ).
If the whitespace removal is for the lines in your actual fix,
then that should just be squashed in. There is no point showing us
your broken-styled code to review, only to fix it in the very next
commit.
So I would expect either a single patch (with cleaned-up fix and tests)
or a two-patch series (cleanups in the area, followed by your fix and
tests).
-Peff
prev parent reply other threads:[~2009-05-28 20:06 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-05-28 16:53 Bug in git-cvsexportcommit: can't commit files which have been removed from CVS Nick Woolley
2009-05-28 20:06 ` Jeff King [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=20090528200635.GJ13499@coredump.intra.peff.net \
--to=peff@peff.net \
--cc=git@vger.kernel.org \
--cc=nickwoolley@yahoo.co.uk \
/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).