Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | git_hooks_client.c: Ignore SIGPIPE | Runxi Yu | 2025-02-18 | 1 | -0/+6 |
| | |||||
* | git_hooks_client.c: Allow ECONNRESET when splicing sock -> stderr | Runxi Yu | 2025-02-18 | 1 | -1/+2 |
| | | | | | Not exactly sure what's happening, but it looks like conn.Close() in Go sometimes produces an ECONNRESET in here. | ||||
* | hooks, etc.: Authenticate hooks, and handle them in the spawning thread | Runxi Yu | 2025-02-17 | 1 | -1/+28 |
| | |||||
* | git_hooks_client: Send argc/argv over the UNIX domain socket | Runxi Yu | 2025-02-17 | 1 | -5/+34 |
| | |||||
* | git_hooks_client.c: Explain the code in more detail | Runxi Yu | 2025-02-17 | 1 | -7/+28 |
| | |||||
* | git_hooks_client.c: Splice socket to stderr | Runxi Yu | 2025-02-17 | 1 | -15/+42 |
| | | | | This allows the daemon to send status messages to the hook handler. | ||||
* | git_hooks_client.c: Clarify error messages | Runxi Yu | 2025-02-17 | 1 | -10/+10 |
| | |||||
* | git_hooks_client.c: Get return value from unix socket | Runxi Yu | 2025-02-17 | 1 | -1/+20 |
| | |||||
* | git_hooks_client: Restructure for clarity | Runxi Yu | 2025-02-17 | 1 | -23/+28 |
| | |||||
* | git_hooks_client: Produce useful error message on missing env var | Runxi Yu | 2025-02-17 | 1 | -0/+1 |
| | |||||
* | git_hooks_client: Ensure stdin is a pipe | Runxi Yu | 2025-02-17 | 1 | -1/+22 |
| | |||||
* | git_hooks_client: Splice stdin | Runxi Yu | 2025-02-17 | 1 | -10/+13 |
| | | | | | | Requires stdin to be a pipe. So `cat | ./git_hooks_client` works while `./git_hooks_client` in a terminal directly does not (character devices are not pipes). | ||||
* | git_hooks{.go,_client}: Add stub for git hook clients | Runxi Yu | 2025-02-17 | 1 | -0/+43 |