2
0
Fork 0
forked from zynk/zynk

docs: add doc comment to cmd_gitlog()

Add detailed function documentation for cmd_gitlog() matching the
existing style used throughout zynk.c. Describes the fork/exec
pattern for running git log, output handling, rate limiting, and
clamping behavior for the count argument.

Updated CHANGELOG.md 0.36.0 entry to reflect this addition.
This commit is contained in:
Johannes Findeisen 2026-07-20 18:36:46 +02:00
commit b17e1ae1c2
2 changed files with 24 additions and 1 deletions

View file

@ -3,6 +3,7 @@
- Added `!gitlog [count]` command: displays recent git commits of the zynk project using `git log --oneline`. Defaults to 5 commits (`GITLOG_COUNT`), accepts 1–20 as count. Each commit is sent as a separate IRC message.
- Updated `!help` to list `!gitlog`.
- Updated README.md with `!gitlog` documentation and `git` as a requirement.
- Added detailed doc comment to `cmd_gitlog()` matching the style of all other function documentation in zynk.c.
- Version bumped to 0.36.0.
2026.07.20 – Remove timezone abbreviation from !time response.