mirror of
https://github.com/haproxy/haproxy.git
synced 2026-07-11 02:02:18 -04:00
When the git commit fails after a save (typically a missing committer identity in the storage repository, or an ownership/permission issue), the failure was only logged to stderr, which lands in the web server's error log at best: the file kept being updated but the history silently stopped being recorded. Report it as a "warning: git commit failed ..." line appended to the response, where the page can show it to the user, on top of the stderr log. Also stop treating a no-op as a failure: re-pushing identical content stages nothing, so the commit is now simply skipped when "git diff --cached --quiet" reports no staged change, instead of letting "git commit" fail on an empty commit. |
||
|---|---|---|
| .. | ||
| base64 | ||
| coccinelle | ||
| flags | ||
| gdb | ||
| h2 | ||
| haring | ||
| hpack | ||
| ncpu | ||
| patchbot | ||
| phash | ||
| plug_qdisc | ||
| poll | ||
| qpack | ||
| sslkeylogger | ||
| tcploop | ||
| term_events | ||
| trace | ||
| udp | ||