git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Catalin Marinas" <catalin.marinas@gmail.com>
To: "Greg KH" <greg@kroah.com>
Cc: git@vger.kernel.org
Subject: Re: stgit 0.13 import mbox problems
Date: Thu, 23 Aug 2007 21:57:42 +0100	[thread overview]
Message-ID: <b0943d9e0708231357s1ceaa121qd56e3a9c71677c8d@mail.gmail.com> (raw)
In-Reply-To: <20070823164322.GC5528@kroah.com>

On 23/08/07, Greg KH <greg@kroah.com> wrote:
> Also, it would import these patches, which are individually in mbox
> form, with the incorrect author information.  So I thought I would use
> the mbox form to make sure I wasn't just doing something stupid.

If the patches have a "From: ..." line after the subject (as described
in the submitting patches kernel docs), StGIT honours it.

Yet another way (might be even simpler for you) - use git-applymbox
(or git-quiltapply) and 'stg uncommit -n 177'. The former generates
GIT commits and the latter creates StGIT patches (without touching the
tree, HEAD remains the same and corresponds to the top patch). There
is also 'stg uncommit --to=commit-id'.

> > After an import failure, you can continue importing from the next
> > patch using the 'stg import --ignore' option.
>
> Ok, will try that, and your patch.

You can try the tonight snapshot which has this patch included (and
other fixes) - http://homepage.ntlworld.com/cmarinas/stgit/snapshots/stgit-20070823.tar.gz

> > One thing you'll notice is the speed difference as stgit has to
> > generate a git commit during a push operation.
>
> Oh yeah, I know that it would be slower, but I use git-quiltapply a lot
> for sending patches to Linus, and that seems quite fast (actually a lot
> faster than stgit for some reason...)

I should have a look at what git-quiltapply does as most of the StGIT
waiting time on external GIT invocation.

>         $ stg series -d
>         + add-my-version-to-the-kernel   | Add my version to the kernel.
>         + stupid-patch-for-my-laptop-whi | Stupid patch for my laptop which cant get sysrq-u
>         + gregs-test-driver-core-sysfs-s | Gregs test driver core / sysfs stress test module
>         > detect-atomic-counter-underflo | detect atomic counter underflows
>
> Are those spaces really the name of the patch?

No, the patch name is with the dashes, the rest is the patch subject line.

-- 
Catalin

  parent reply	other threads:[~2007-08-23 20:57 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-08-23  9:22 stgit 0.13 import mbox problems Greg KH
2007-08-23 10:19 ` Catalin Marinas
2007-08-23 10:27   ` Catalin Marinas
2007-08-23 16:43   ` Greg KH
2007-08-23 18:31     ` J. Bruce Fields
2007-08-23 18:42       ` Greg KH
2007-08-23 20:57     ` Catalin Marinas [this message]
2007-08-23 18:06 ` Josef Sipek
2007-08-23 18:47   ` Greg KH
2007-08-23 18:56     ` Josef Sipek
2007-08-23 20:36       ` Catalin Marinas
2007-08-23 20:42         ` Josef Sipek
2007-08-23 20:48           ` Catalin Marinas
2007-08-23 19:23     ` Josef Sipek

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=b0943d9e0708231357s1ceaa121qd56e3a9c71677c8d@mail.gmail.com \
    --to=catalin.marinas@gmail.com \
    --cc=git@vger.kernel.org \
    --cc=greg@kroah.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.
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).