Context: Git Diff name may be misleading? #2782
Labels
area:context-providers
Relates to context providers
good-first-issue
Suggested issue for new contributors
ide:vscode
Relates specifically to VS Code extension
kind:bug
Indicates an unexpected problem or unintended behavior
Before submitting your bug report
Relevant environment info
Description
Problem
It seems that the @git Diff context tag can only see Staged changes.
I gave the following prompt:
If the changes are unstaged, the model replies:
Only if I stage them it is able to see them.
I think it is nice to have a feature that allows to pass only the Staged Changes to the model, since sometimes we have more uncommited changes and we want to commit only part of them.
However, I think the current tag is misleading, since the
git diff
command shows all changes, not just the Staged Changes. One would expect the @git Diff tag to include all changes that are visible in thegit diff
command. As such, I would classify this issue as a Bug instead of an Improvement.Proposed Solution
@Git Diff
to@Git Diff (staged)
@Git Diff (All)
, or simply@Git Diff
(similar to the current name).To reproduce
No response
Log output
No response
The text was updated successfully, but these errors were encountered: