Generate commit message based on git diff
Resolved 💬 2 comments Opened Feb 25, 2026 by icanfast Closed Apr 11, 2026
💡 Likely answer: A maintainer (etraut-openai, contributor)
responded on this thread — see the highlighted reply below.
What variant of Codex are you using?
MacOS App
What feature would you like to see?
Currently generating commit message seems to take in recent chat context. It does a rather poor job of describing changes, instead describing user interaction half the time.
Would it be feasible for it to take version control diffs as a context and hopefully generating more on-topic commit messages?
Additional information
_No response_
2 Comments
Actually it sometimes generates commit message based on chat history a few messages back. And LLM's responses sometimes answer the previous prompt instead of the most recent one (agent still works fine). Might be a bug.
This feature request hasn't received enough upvotes, so I'm going to close it.