rename git diff context

This commit is contained in:
bobo.yang 2023-05-18 19:35:55 +08:00
parent 4cc02b65c0
commit 26f24960c4
2 changed files with 2 additions and 2 deletions

View File

@ -6,7 +6,7 @@ import { logger } from '../util/logger';
export const gitDiffContext: ChatContext = {
name: 'git diff',
name: 'git diff HEAD',
description: 'diff for all changes',
handler: async () => {
const tempDir = await createTempSubdirectory('devchat/context');

View File

@ -6,7 +6,7 @@ import { logger } from '../util/logger';
export const gitDiffCachedContext: ChatContext = {
name: 'git diff cached',
name: 'git diff --cached',
description: 'diff for cached changes',
handler: async () => {
const tempDir = await createTempSubdirectory('devchat/context');