Skip to content

Reduce default context_lines to 5 to reduce noisy diff context#2

Merged
aweis89 merged 1 commit intomainfrom
codex/improve-commit-message-generation
Feb 16, 2026
Merged

Reduce default context_lines to 5 to reduce noisy diff context#2
aweis89 merged 1 commit intomainfrom
codex/improve-commit-message-generation

Conversation

@aweis89
Copy link
Owner

@aweis89 aweis89 commented Feb 16, 2026

Motivation

  • Keep generated commit-message prompts more concise and predictable by including less unchanged diff context by default.

Description

  • Change default context_lines from 10 to 5 in lua/ai_commit_msg/config.lua and update the corresponding references and guidance in README.md and doc/ai-commit-msg.nvim.txt to reflect the new default and recommend a modest context size.

Testing

  • Ran make test in this environment which failed due to nvim: not found, so automated tests could not be completed here.

Codex Task

@aweis89 aweis89 merged commit 033271d into main Feb 16, 2026
18 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant