respect includeUnstaged option
This commit is contained in:
parent
f7116eaa3f
commit
71f2ccda9a
1 changed files with 1 additions and 1 deletions
|
|
@ -17,7 +17,7 @@ class DiffContextProvider extends BaseContextProvider {
|
|||
query: string,
|
||||
extras: ContextProviderExtras,
|
||||
): Promise<ContextItem[]> {
|
||||
const diff = await extras.ide.getDiff(false);
|
||||
const diff = await extras.ide.getDiff(this.options.includeUnstaged ?? true);
|
||||
return [
|
||||
{
|
||||
description: "The current git diff",
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue