Skip to content

Commit 21fc350

Browse files
Merge pull request #88 from gemini-cli-extensions/replace_git_diff_command
fix: Use a command available on all platforms to generate a file diff
2 parents 83e1f83 + 4fb13d6 commit 21fc350

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

commands/security/analyze.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,7 @@ You will now begin executing the plan. The following are your precise instructio
112112
113113
1a. **To define the audit scope in a git repository**
114114
* You **MUST** run the exact command: `git diff --merge-base origin/HEAD`.
115+
* If this command fails and does not produce a changelist, use this exact command: `git diff`.
115116
* This is your only method for determining the changed files. Do not use any other commands for this purpose.
116117
* Once the command is executed and you have the list of changed files, you will mark this task as complete.
117118

0 commit comments

Comments
 (0)