Thread (3 messages) flat view 3 messages, 2 authors, 2016-06-15

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

From: Jonathan Nieder <hidden>
Date: 2016-06-15 22:47:59

Jonathan Nieder wrote:
Kevin Leung wrote:
quoted
read_pipe() returns "\n". We need to remove it before passing it
to system().

Signed-off-by: Kevin Leung <redacted>
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 <redacted>
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.

Jonathan
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help