Thread (4 messages) flat view 4 messages, 3 authors, 2017-12-07

Re: [PATCH v5 2/2] launch_editor(): indicate that Git waits for user input

From: Lars Schneider <hidden>
Date: 2017-12-07 17:57:17

Possibly related (same subject, not in this thread)

On 07 Dec 2017, at 18:37, Kaartic Sivaraam [off-list ref] wrote:

On Thursday 07 December 2017 10:00 PM, Junio C Hamano wrote:
quoted
+
+		if (print_waiting_for_editor) {
+			/*
+			 * A dumb terminal cannot erase the line later on. Add a
+			 * newline to separate the hint from subsequent output.
+			 *
quoted
+			 * In case the editor emits further cruft after what
+			 * we wrote above, separate it from our message with SP.
I guess this part of the comment could be improved a little. I currently interpret it as "See if the editor emits further cruft, print a space in that case". Though, it's not what we are doing. Something like the following, perhaps?

    In a non-dumb terminal, separate our message from further cruft
    that might be emitted by the editor with SP.
I see what you mean. My (non-native) language feeling tells me that
reordering the sentence might sound better:

				 * In a non-dumb terminal, separate our message with SP
				 * from further cruft that might be emitted by the editor.


@Junio: If you agree with the change, can you squash either of the new versions? 

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