Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add exec section to provide cmd output to the LLM #157

Conversation

juodumas
Copy link
Contributor

Is there any interest in this feature?

Before the change:

>>> user

what does the `-W` flag for `git diff` do?

<<< assistant

The `-W` flag for `git diff` is used to ignore whitespace changes.<...>

After the change:

>>> exec

man git-diff

>>> user

what does the `-W` flag for `git diff` do?

<<< assistant

The `-W` or `--function-context` flag for `git diff` is used to show the whole function as context lines for each change.<...>

@madox2
Copy link
Owner

madox2 commented Mar 18, 2025

Yes, it looks nice! That would allow us to be even more creative about prompts.

@madox2 madox2 merged commit 931d01f into madox2:main Mar 23, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants