git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Jonathan Nieder <jrnieder@gmail.com>
To: "Gary V. Vaughan" <git@mlists.thewrittenword.com>
Cc: git@vger.kernel.org, Jeff King <peff@peff.net>
Subject: Re: [patch 06/16] diff-test_cmp.patch
Date: Wed, 28 Apr 2010 04:51:59 -0500	[thread overview]
Message-ID: <20100428095159.GD1394@progeny.tock> (raw)
In-Reply-To: <20100428090045.GD36271@thor.il.thewrittenword.com>

Gary V. Vaughan wrote:

> Can I add a Sign-off message to each patch subthread?  Or do you need
> me to resubmit the entire series?

I think one sign-off for the whole series would be good enough; then
the person applying the patches can forge your signed-off-by lines.

I pointed it out mostly for future patches.

> On Tue, Apr 27, 2010 at 12:15:52PM -0500, Jonathan Nieder wrote:

>> And is it possible to change your mailing script to use more
>> meaningful subject lines?
>
> Sure.  What is preferable?  As short a sentence summarising the fixed
> issue as I can muster?

Yep. :)  It need not be a sentence (and should skip the full stop).
You can see some example subject lines by looking at the "shortlog"
from git or Linux release announcements or running
git log --oneline --no-merges.

Something like “tests: Use test_cmp when appropriate” would do.

> (Like SuSE Linux, we use quilt to manage and
> submit our patch stacks... git seems to require hosting the entire
> history of each project which is too heavyweight for the 1000's of
> packages we build - if git provides the means to store just the head
> of an upstream release branch along with our patch stacks on local
> disk, I would love to be proven wrong here).

The most general way:

 curl http://address/of/tarball.tar.gz | tar -xf - 
 git init *
 cd *
 git add .
 git commit -m "upstream release"
 ... use git like normal

You can automate some of those steps by

 wget http://address/of/tarball.tar.gz
 git init project
 cd project
 perl /usr/share/doc/git/contrib/fast-import/import-tars.perl tarball.tar.gz
 git checkout import-tars
 ... use git as usual

If upstream uses git, there is also the shallow-clone facility:

 git clone -b master --depth=1 git://repo.or.cz/git.git/
 cd git
 ... use git as usual, except history is cauterized

It has one rough edge you may run into: push is not supported.  If that
is a problem for you, let me know and maybe I can try to help fix it.

Honestly, I’m okay with quilt, too.  The main difference I notice is that
‘git diff’ uses the equivalent of the diff -p (--show-c-function)
option by default.

> Maybe in combination with the missing Signed-off-by: headers and
> unsuitable Subject headers I need to amend and resubmit the whole
> patch series again?

I think the cognitive load on reviewers is lighter if you send small,
isolated changes until you think it is as ready as it is going to get
for the current round, and only then resubmit the series.

Thanks for the hard work.
Jonathan

  reply	other threads:[~2010-04-28  9:52 UTC|newest]

Thread overview: 49+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-04-27 13:57 [patch 00/16] Portability Patches for git-1.7.1 (v4) Gary V. Vaughan
2010-04-27 13:57 ` [patch 01/16] user-cppflags.patch Gary V. Vaughan
2010-04-27 13:57 ` [patch 02/16] const-expr.patch Gary V. Vaughan
2010-04-27 14:08   ` Erik Faye-Lund
2010-04-27 14:32     ` Gary V. Vaughan
     [not found]   ` <1AFA5FB2-EB8B-4775-8941-86428C7F740E@gmail.com>
2010-05-03  1:39     ` Gary V. Vaughan
     [not found]       ` <A4E8B513-AD31-4F3B-9DEF-6A85AA8DC7B3@gmail.com>
2010-05-04  5:01         ` Gary V. Vaughan
2010-04-27 13:57 ` [patch 03/16] pthread.patch Gary V. Vaughan
2010-04-27 13:57 ` [patch 04/16] Without this patch at least IBM VisualAge C 5.0 (I have 5.0.2) on AIX 5.1 fails to compile git Gary V. Vaughan
2010-04-27 16:08   ` Tor Arntsen
2010-04-28  8:40     ` Gary V. Vaughan
2010-04-28  8:55       ` Tor Arntsen
2010-04-28 16:23         ` Jeff King
2010-04-27 13:57 ` [patch 05/16] diff-export.patch Gary V. Vaughan
2010-04-27 13:57 ` [patch 06/16] diff-test_cmp.patch Gary V. Vaughan
2010-04-27 17:15   ` Jonathan Nieder
2010-04-28  9:00     ` Gary V. Vaughan
2010-04-28  9:51       ` Jonathan Nieder [this message]
2010-04-28 10:22         ` Gary V. Vaughan
2010-04-28 17:43           ` Jonathan Nieder
2010-04-27 13:57 ` [patch 07/16] diff-defaults.patch Gary V. Vaughan
2010-04-27 13:57 ` [patch 08/16] host-SunOS56.patch Gary V. Vaughan
2010-04-27 13:57 ` [patch 09/16] host-IRIX.patch Gary V. Vaughan
2010-04-27 13:57 ` [patch 10/16] host-HPUX10.patch Gary V. Vaughan
2010-04-27 13:57 ` [patch 11/16] host-HPUX11.patch Gary V. Vaughan
2010-04-27 13:57 ` [patch 12/16] host-OSF1.patch Gary V. Vaughan
2010-04-27 14:10   ` Tor Arntsen
2010-04-27 14:39     ` Gary V. Vaughan
2010-04-27 14:48       ` Tor Arntsen
2010-04-28  9:07         ` Gary V. Vaughan
2010-04-27 13:57 ` [patch 13/16] no-hstrerror.patch Gary V. Vaughan
2010-04-27 13:57 ` [patch 14/16] no-inet_ntop.patch Gary V. Vaughan
2010-04-27 13:57 ` [patch 15/16] no-socklen_t.patch Gary V. Vaughan
2010-04-27 13:57 ` [patch 16/16] no-inline.patch Gary V. Vaughan
2010-04-27 15:30 ` [patch 00/16] Portability Patches for git-1.7.1 (v4) Michael J Gruber
2010-04-27 17:54   ` Jeff King
2010-04-27 20:13     ` Andreas Schwab
2010-04-28  2:08       ` Jeff King
2010-04-28  9:19         ` Gary V. Vaughan
2010-04-28 12:17           ` Jeff King
2010-04-28  9:27   ` Gary V. Vaughan
2010-04-28  9:32   ` Gary V. Vaughan
2010-04-28 12:26     ` Ævar Arnfjörð Bjarmason
     [not found]   ` <4BD94599.5090309@drmicha.warpmail.net>
2010-04-29 10:50     ` Gary V. Vaughan
2010-05-01 18:34   ` Michael J Gruber
2010-05-01 23:25     ` Junio C Hamano
2010-05-03  1:48       ` Gary V. Vaughan
2010-05-02 13:00     ` Øyvind A. Holm
2010-04-28 10:12 ` Gary V. Vaughan

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=20100428095159.GD1394@progeny.tock \
    --to=jrnieder@gmail.com \
    --cc=git@mlists.thewrittenword.com \
    --cc=git@vger.kernel.org \
    --cc=peff@peff.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.
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).