|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
pingou commented 5 years ago | ||
bkabrda commented 5 years ago Did you test it? I did and it needs to print to stdout for the git client to read the pkt-line message and display it (IIUC git client reads pkt-line messages only from stdout, not from stderr). | ||
pingou commented 5 years ago See the commit message :) | ||
|
||
|
||
|
||
This patch makes sure that error messages that should be shown to users are wrapped using git's pkt-line protocol and thus git client can display them properly.
It should still print to stderr, otherwise it doesn't get displayed to the user (which means it should likely also print to stderr above)