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

Re: [PATCH] git-p4: Fix empty submit template when editor fires up

From
KLKevin Leung <kevinlsk@gmail.com>
Date
Jan 10, 2010, 13:52 UTC
Message-ID
<e66701d41001100552p6cf2fde8m6463613cfcc4315b@mail.gmail.com>
In-Reply-To
<20100110111440.GB19612@progeny.tock>
On Sun, Jan 10, 2010 at 7:14 PM, Jonathan Nieder <jrnieder@gmail.com> wrote:
Show 20 quoted lines
> Jonathan Nieder wrote:
>> Kevin Leung wrote:
>> > read_pipe() returns "\n". We need to remove it before passing it
>> > to system().
>> >
>> > Signed-off-by: Kevin Leung <kevinlsk@gmail.com>
>>
>> If I understand correctly, this is a cosmetic change:
>
> ... and of course I didn't the subject.  Sorry about that.  Thanks
> for cleaning up my mess.
>
> Acked-by: Jonathan Nieder <jrnieder@gmail.com>
>
>> What is the rationale for the rewritten system() line?  I would have
>> understood a change to
>>
>>       os.spawnlp("sh", "-c", editor + " \"$@\"", fileName)
>
> I am still curious about this, though it is not so important.

You are right, the system() line is not so important. I can revert that line of change.

Kevin
Previous: Jonathan Nieder
Message 3 of 3 in “Re: [PATCH] git-p4: Fix empty submit template when editor fires up”
  1. Jonathan NiederJan 10, 2010
  2. Jonathan NiederJan 10, 2010
  3. Kevin LeungJan 10, 2010

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.