git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Catalin Marinas" <catalin.marinas@gmail.com>
To: "Yann Dirson" <ydirson@altern.org>
Cc: git@vger.kernel.org
Subject: Re: [StGIT PATCH 2/4] Abstract a PatchSet object out of Series.
Date: Tue, 19 Jun 2007 23:32:54 +0100	[thread overview]
Message-ID: <b0943d9e0706191532w11439866u5a9c1b540d5ccca8@mail.gmail.com> (raw)
In-Reply-To: <20070615201439.GT6992@nan92-1-81-57-214-146.fbx.proxad.net>

On 15/06/07, Yann Dirson <ydirson@altern.org> wrote:
> Indeed one of the things that naturally come to mind after hydra, is
> to abstract a parent class above PatchSet and Patch, and allow those
> to be mostly used everywhere one of them is allowed.
>
> That way we can have a (sub-)stack anywhere between 2 patches in a
> stack, and that should I think address the need you describe.  But
> that would also allow to have an hydra built of single patches instead
> of stacks, which would be quite similar to how darcs organizes
> patches.  Combinations are endless, and I don't even count the
> possibility of adding new structures besides stacks and hydras :)

If you can track the patch dependencies, it would be enough to no
longer have a stack but a pool of patches (like darcs but without
exact patch commuting, the diff3 merging provides a good approximation
of this operation and in a much faster time). Simple patch dependency
could be detected by trying to apply a patch without others (it can be
optimised so that only patches touching common files should be
checked).

> > It's not a bug. The import command just uses the e-mail sender or a
> > "From:" line before the patch description (see the default mail
> > template). It doesn't check the sign lines (it is following the kernel
> > patch submission guidelines).
>
> We could surely improve things (and I'm not suggesting we should look
> at sign lines).  Eg, by having stg-mail add an Author pseudo-header
> when the patch author is different from the sender, and having
> stg-import use that when available.

But the 'stg mail' command already adds a "From:" line in the body
(with the default template) and 'import' checks for 'From:' or
'Author:' which override the e-mail sender. You might be using a
different e-mail template.

-- 
Catalin

  reply	other threads:[~2007-06-19 22:32 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-06-11  0:33 [StGIT PATCH 0/4] Cleanups of the Series object Yann Dirson
2007-06-11  0:33 ` [StGIT PATCH 1/4] Use get/set_name for a stack's name Yann Dirson
2007-06-11  0:33 ` [StGIT PATCH 2/4] Abstract a PatchSet object out of Series Yann Dirson
2007-06-12 22:09   ` Catalin Marinas
2007-06-13 20:38     ` Yann Dirson
2007-06-14 21:30       ` StGIT rebasing safeguard Yann Dirson
2007-06-19 22:12         ` Catalin Marinas
2007-06-19 22:18           ` Catalin Marinas
2007-06-19 22:37             ` Yann Dirson
2007-06-14 22:56       ` [StGIT PATCH 2/4] Abstract a PatchSet object out of Series Catalin Marinas
2007-06-15 20:14         ` Yann Dirson
2007-06-19 22:32           ` Catalin Marinas [this message]
2007-06-11  0:33 ` [StGIT PATCH 3/4] Move stack format-version checks into Stack class Yann Dirson
2007-06-11  0:33 ` [StGIT PATCH 4/4] Rename branch.*.stgitformatversion to branch.*.stgit.stackformatversion Yann Dirson

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