Files
avante.nvim/lua
Hanchin Hsieh c1f1a89d74 feat(llm_tools): add git diff and commit functions (#1295)
Added two new functions to support git operations:

- git_diff: Get git diff for generating commit message (both staged and unstaged changes)

- git_commit: Commit changes with commit message and optional signing

These functions also support:

- GPG signing if available and configured

- Automatic staging of files if scope is provided

- User confirmation before committing

- Signed-off-by line with git user info

Signed-off-by: Hanchin Hsieh <me@yuchanns.xyz>
2025-02-18 22:56:50 +08:00
..