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

Re: How does format-patch determine the filename of the patch?

From
TTTimur Tabi <timur@freescale.com>
Date
Oct 29, 2009, 13:05 UTC
Message-ID
<ed82fe3e0910290605j302747f9o6a86acb414427639@mail.gmail.com>
In-Reply-To
<200910151959.47778.robin.rosenberg.lists@dewire.com>

On Thu, Oct 15, 2009 at 12:59 PM, Robin Rosenberg <robin.rosenberg.lists@dewire.com> wrote:

Show 7 quoted lines
>> The reason I ask is that I'm writing a script which calls
>> git-format-patch to create some patches for post-processing.  So I
>> need the name of the file that git-format-patch creates so that I can
>> open it and examine it.  I'd liked to see if there's a way to get the
>> name of the patch without actually creating the file.
>
> It tells you the names on stdout.

Is there a way for it to tell me the name on stdout *without* actually creating the patch?

-- 
Timur Tabi
Linux kernel developer at Freescale
Previous: Robin RosenbergNext: Joshua Roys
Message 4 of 5 in “How does format-patch determine the filename of the patch?”
  1. Timur TabiOct 15, 2009
  2. Thomas RastOct 15, 2009
  3. Robin RosenbergOct 15, 2009
  4. Timur TabiOct 29, 2009
  5. Joshua RoysOct 29, 2009

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.