-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Give full output of git command on errors #2054
Conversation
92734c1
to
9f0ad02
Compare
9f0ad02
to
498954e
Compare
I restricted the error message to the first line of output deliberately. But who knows where that impulse came from, it was a while ago. It's certainly useful to have the full error from git.
Because they will be interleaved? |
Yep |
7524f8c
to
f1f1e81
Compare
@squaremo I have finally finished fixing the race conditions PTAL |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
OK, let's go forward :-)
As a side effect, the tracing of commands also prints the full output (instead of separating stderr and stdout), which I think is more useful.
f1f1e81
to
d90ec58
Compare
Re-examining this: why do we care that they are interleaved? Any particular interleaving would be a coincidence anyway, and it's more useful to know which of stderr or stdout any particular output went to. |
As a side effect, the tracing of commands also prints the full output (instead of separating stderr and stdout), which I think is more useful.
Implementing this was triggered by #2050 (
git clone
was failing due toknown_hosts
being updated, but I had to exec into the pod in order to figure it out).