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

Re: [PATCH] format-patch: allow --no-patch to disable patch output

From
Eric Sunshine <sunshine@sunshineco.com>
Date
Apr 7, 2016, 21:30 UTC
Message-ID
<CAPig+cRNCwFmGW-Zo+osjceA6nb=6t3+rJ2uEbnyYxGfSWQ-Uw@mail.gmail.com>
In-Reply-To
<1460047599-9267-1-git-send-email-jacob.e.keller@intel.com>
On Thu, Apr 7, 2016 at 12:46 PM, Jacob Keller <jacob.e.keller@intel.com> wrote:
Show 8 quoted lines
> The documentation for format-patch indicates that --no-patch wilL
> suppress patch output. It also incorrectly mentions that -s will also
> suppress the patch output, but this is incorrect because -s is used to
> add the sign-off line first. Fix the documentation to remove the
> indication about -s. Fix builtin format-patch to prevent always adding
> the patch incase --no-patch is given. An alternative approach would be
> to remove --no-patch from the documentation for git-format-patch, and
> add an error check to indicate that --no-patch is not supported.
See [1] and [2].

[1]: http://thread.gmane.org/gmane.comp.version-control.git/290023 [2]: b73a1bc (git-format-patch.txt: don't show -s as shorthand for multiple options, 2016-03-27)

> Add a test for --no-patch to ensure it functions as expected.
>
> Signed-off-by: Jacob Keller <jacob.e.keller@intel.com>
Previous: Jacob KellerNext: Jacob Keller
Message 2 of 5 in “format-patch: allow --no-patch to disable patch output”
  1. format-patch: allow --no-patch to disable patch outputJacob Keller, Apr 7, 2016
  2. Eric SunshineApr 7, 2016
  3. Jacob KellerApr 8, 2016
  4. Junio C HamanoApr 8, 2016
  5. Jacob KellerApr 8, 2016

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.