git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [Updated PATCH 0/2] Improve remote helpers exec error reporting
@ 2009-12-30 10:52 Ilari Liusvaara
  2009-12-30 10:52 ` [Updated PATCH 1/2] Report exec errors from run-command Ilari Liusvaara
  2009-12-30 10:52 ` [Updated PATCH 2/2] Improve transport helper exec failure reporting Ilari Liusvaara
  0 siblings, 2 replies; 13+ messages in thread
From: Ilari Liusvaara @ 2009-12-30 10:52 UTC (permalink / raw)
  To: git

This reroll fixes the following from previous round:
- Split loop-trying-to-close to its own inline function.
- Don't rely on pipe(2) preserving fd array in case of failure.
- Don't try to use partially received error codes.
- Don't send error about partial write as it would go to who knows where.
- Add a testcase (ENOENT is detected correctly).

Ilari Liusvaara (2):
  Report exec errors from run-command
  Improve transport helper exec failure reporting

 Makefile               |    1 +
 run-command.c          |   79 ++++++++++++++++++++++++++++++++++++++++++++++--
 t/t0061-run-command.sh |   13 ++++++++
 test-run-command.c     |   35 +++++++++++++++++++++
 transport-helper.c     |   14 ++++++--
 5 files changed, 135 insertions(+), 7 deletions(-)
 create mode 100755 t/t0061-run-command.sh
 create mode 100644 test-run-command.c

^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2010-01-01  0:35 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-12-30 10:52 [Updated PATCH 0/2] Improve remote helpers exec error reporting Ilari Liusvaara
2009-12-30 10:52 ` [Updated PATCH 1/2] Report exec errors from run-command Ilari Liusvaara
2009-12-30 13:47   ` Erik Faye-Lund
2009-12-31  5:26   ` Tarmigan
2009-12-31 10:48     ` Ilari Liusvaara
2009-12-31 14:44       ` Tarmigan
2009-12-30 10:52 ` [Updated PATCH 2/2] Improve transport helper exec failure reporting Ilari Liusvaara
2009-12-31 15:44   ` Johannes Sixt
2009-12-31 16:59     ` Ilari Liusvaara
2009-12-31 17:48       ` Johannes Sixt
2009-12-31 18:24         ` Ilari Liusvaara
2009-12-31 18:44           ` Johannes Sixt
2010-01-01  0:34             ` Johannes Sixt

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).