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

Re: git format-patch --signoff

From
MMMichał Mirosław <mirq-linux@rere.qmqm.pl>
Date
Oct 21, 2021, 22:04 UTC
Message-ID
<YXHj74OPJmFqamxP@qmqm.qmqm.pl>
In-Reply-To
<YXHcjbiE6GX6zJHk@camp.crustytoothpaste.net>
On Thu, Oct 21, 2021 at 09:33:01PM +0000, brian m. carlson wrote:
Show 9 quoted lines
> On 2021-10-21 at 21:22:10, Michał Mirosław wrote:
> > Hi.
> > 
> > I just noticed that `git format-patch --signoff` adds the 'Signed-off-by'
> > line even if the exact same line is already present in the commit message.
> > Could this be avoided in the tool?
> Just so I understand correctly, does it do this even if the existing
> sign-off is last (or the only one), or only if the sign-off is not the
> last?

It does this regardless of where the signoff is or whether it is the only one.

Best Regards Michał Mirosław

Previous: brian m. carlsonNext: Junio C Hamano
Message 3 of 5 in “git format-patch --signoff”
  1. Michał MirosławOct 21, 2021
  2. brian m. carlsonOct 21, 2021
  3. Michał MirosławOct 21, 2021
  4. Junio C HamanoOct 21, 2021
  5. Michał MirosławOct 21, 2021

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.