Skip to content

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

Merged
madox2 merged 2 commits intomadox2:mainfrom
juodumas-forks:add-exec-section-to-provide-cmd-output-to-llm
Mar 23, 2025
Merged

Add exec section to provide cmd output to the LLM#157
madox2 merged 2 commits intomadox2:mainfrom
juodumas-forks:add-exec-section-to-provide-cmd-output-to-llm

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