git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: stgit: managing signed-off-by lines

From
Jon Smirl <jonsmirl@gmail.com>
Date
Jan 25, 2008, 13:34 UTC
Message-ID
<9e4733910801250534s7ab11b15uff3c782165a8e2ea@mail.gmail.com>
In-Reply-To
<20080125083853.GA5804@diana.vm.bytemark.co.uk>
On 1/25/08, Karl Hasselström <kha@treskal.com> wrote:
Show 11 quoted lines
> On 2008-01-24 15:27:17 -0500, Jon Smirl wrote:
>
> > If I import a series of patches from one of my trees into another,
> > stgit preserves the signed-off-by lines like you would expect it to.
> > When I export these patches it adds a signed-off-by line for myself
> > again like you would expect it to. But adding this line on export
> > needs to checks and make sure that my name isn't already in the
> > signed-off-by list, without this check I have to manually remove my
> > name when it gets duplicated.
>
> What command are you using to export patches?

I am using "stg export" from one branch and then "stg import -s" on another. After I import the patch and do 'stg edit' on it, it has the signed-off-by line in it. When it is export from that branch the signed-off-by get added again.

You don't want to strip the signed-off-by lines on import, they may be from other people. I would think that on export you could look and see if my signed-off-by line is already on the patch before adding it again.

I might be able to handle this better by rebasing my master from both linus/master and my branch containing these i2c patches that are taking so long to get in. That would avoid the import/export step. But then I can't edit the patches directly on my master branch.

Show 10 quoted lines
>
> IIRC, all commands that have --sign and --ack flags already to check
> for duplicates. But if you do something like have your sign-off line
> in the template the export command uses, that would lead to
> duplicates.
>
> --
> Karl Hasselström, kha@treskal.com
>       www.treskal.com/kalle
>
-- 
Jon Smirl
jonsmirl@gmail.com
Previous: Karl HasselströmNext: Karl Hasselström
Message 3 of 7 in “stgit: managing signed-off-by lines”
  1. Jon SmirlJan 24, 2008
  2. Karl HasselströmJan 25, 2008
  3. Jon SmirlJan 25, 2008
  4. Karl HasselströmJan 25, 2008
  5. Jon SmirlJan 25, 2008
  6. Karl HasselströmJan 25, 2008
  7. Karl HasselströmJan 25, 2008

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.