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

Re: [PATCH] run-command: mark file-local symbols static

From
Ramsay Jones <ramsay@ramsayjones.plus.com>
Date
Jun 18, 2016, 00:58 UTC
Message-ID
<57649CA1.8010109@ramsayjones.plus.com>
In-Reply-To
<20160617233309.GB26564@sigill.intra.peff.net>
On 18/06/16 00:33, Jeff King wrote:
Show 23 quoted lines
> On Fri, Jun 17, 2016 at 10:01:24PM +0100, Ramsay Jones wrote:
> 
>> If you need to re-roll your 'jk/gpg-interface-cleanup' branch, could
>> you please squash this into the relevant patch (commit 74287e34,
>> "run-command: add pipe_command helper", 16-06-2016).
> 
> Thanks, yes.
> 
>> BTW, also on that branch, commit 6fec0a89 ("verify_signed_buffer: use
>> tempfile object", 16-06-2016) removes the last use of the git_mkstemp()
>> function. Should it be removed?
> 
> I think so. We still have git_mkstemp_mode and friends, so in that sense
> this is part of a family of commands that somebody might use again. But:
> 
>   1. Unlike the others in the family, where we implement mkstemp
>      ourselves, this one uses the system mkstemp. Which probably behaves
>      in totally the same way, but it's kind of weird and oddball.
> 
>   2. I think we should be steering people towards tempfile.c anyway, for
>      its auto-cleanup properties.
> 
> Want to do a patch on top?
OK, will do. (tomorrow, it is 2am here ...)

ATB, Ramsay Jones

Previous: Jeff King
Message 3 of 3 in “run-command: mark file-local symbols static”
  1. run-command: mark file-local symbols staticRamsay Jones, Jun 17, 2016
  2. Jeff KingJun 17, 2016
  3. Ramsay JonesJun 18, 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.