rename git diff context
This commit is contained in:
parent
4cc02b65c0
commit
26f24960c4
@ -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');
|
||||
|
@ -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');
|
||||
|
Loading…
x
Reference in New Issue
Block a user