Skip to content

Commit 352305c

Browse files
committed
docs(gitcommit): document commit history context options
- add instructions for enabling commit history context in config - describe new options: use_commit_history and commit_history_count - update last change date in documentation header
1 parent 5411c45 commit 352305c

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

doc/codecompanion-gitcommit.txt

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*codecompanion-gitcommit.txt* For Neovim >= 0.8.0 Last change: 2025 Jan 02
1+
*codecompanion-gitcommit.txt* For Neovim >= 0.8.0 Last change: 2025 Jul 25
22

33
CODECOMPANION GITCOMMIT EXTENSION *codecompanion-gitcommit*
44

@@ -100,6 +100,10 @@ Add this extension to your CodeCompanion configuration:
100100
git_tool_auto_submit_errors = false, -- Auto-submit errors to LLM
101101
git_tool_auto_submit_success = true, -- Auto-submit success to LLM
102102
gitcommit_select_count = 100, -- Number of commits shown in /gitcommit
103+
104+
-- Commit history context (optional)
105+
use_commit_history = true, -- Enable commit history context
106+
commit_history_count = 10, -- Number of recent commits for context
103107
}
104108
}
105109
}

0 commit comments

Comments
 (0)