From: Thomas Rast <trast@student.ethz.ch>
To: Jeff King <peff@peff.net>
Cc: Eric Blake <eblake@redhat.com>,
Michael J Gruber <git@drmicha.warpmail.net>,
Git Mailing List <git@vger.kernel.org>
Subject: Re: git format-patch should honor notes
Date: Wed, 8 Dec 2010 12:15:40 +0100 [thread overview]
Message-ID: <201012081215.40809.trast@student.ethz.ch> (raw)
In-Reply-To: <20101207221151.GC1036@sigill.intra.peff.net>
Jeff King wrote:
> > My workflow is that I post patch series for upstream review via 'git
> > send-email'. Often, that results in feedback that requires me to
> > amend/rebase my series, and post a v2 or v3 of the series. By adding
> > 'git config notes.rewriteRef refs/notes/commits', I can add notes that
> > will carry across my rebase, and remind me what I changed in v2 (for
> > example, git notes add -m 'v2: fix foo, per mail xyz@example.com').
>
> Yeah, that is a workflow that some others have mentioned using here,
Incidentally it's what I wrote the rewriteRef support for :-)
> too. And I think there is general agreement that notes should go after
> the "---" in format-patch. We just need a working patch.
>
> Thomas posted one in February:
>
> http://article.gmane.org/gmane.comp.version-control.git/140819
>
> But there were some issues and it never got polished.
I got pretty frustrated with gfp being rather brittle. It is very
hard to insert anything anywhere in the output stream in such a way
that the output is not affected in any *other* scenario where this
option is disabled.
So I think a good angle of attack if you want to hack around on this
would be to clean up gfp so that it becomes easier to work on, and/or
come up with a better/cleaner place to insert the notes support than I
had.
That being said, the version I still use just shifts around a linefeed
after the ---, IIRC, and so far nobody complained about that in
practice ;-)
--
Thomas Rast
trast@{inf,student}.ethz.ch
prev parent reply other threads:[~2010-12-08 11:15 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-12-07 21:53 git format-patch should honor notes Eric Blake
2010-12-07 22:10 ` Junio C Hamano
2010-12-07 22:11 ` Jeff King
2010-12-08 8:20 ` Michael J Gruber
2010-12-08 10:12 ` Johan Herland
2010-12-08 10:24 ` Michael J Gruber
2010-12-08 10:50 ` Johan Herland
2010-12-08 11:15 ` Thomas Rast [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=201012081215.40809.trast@student.ethz.ch \
--to=trast@student.ethz.ch \
--cc=eblake@redhat.com \
--cc=git@drmicha.warpmail.net \
--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).