Thread (82 messages) flat view 82 messages, 5 authors, 2016-08-06

Re: [PATCH v3 03/10] pkt-line: add packet_flush_gentle()

From: Jakub Narębski <hidden>
Date: 2016-07-30 12:05:22

W dniu 30.07.2016 o 01:37, larsxschneider@gmail.com pisze:
From: Lars Schneider <redacted>

packet_flush() would die in case of a write error even though for some callers
an error would be acceptable. Add packet_flush_gentle() which writes a pkt-line
flush packet and returns `0` for success and `1` for failure.
I think it should be packet_flush_gently(), as in "to flush gently",
but this is only my opinion; I have not checked the naming rules and
practices for the rest of Git codebase.
Signed-off-by: Lars Schneider <redacted>
---
  
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help