You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: commands/security/analyze.toml
+4-4Lines changed: 4 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -110,9 +110,9 @@ You will now begin executing the plan. The following are your precise instructio
110
110
* If the above command fails, producing a fatal error: then proceed to step 1b.
111
111
112
112
1a. **To define the audit scope in a git repository**
113
-
* You **MUST** run the following exact commands. The first command provides a mergebase **commit ID**. The second command uses that **commit ID** to generate a list of changed files.
114
-
1. `git merge-base HEAD origin/HEAD`
115
-
2. `git diff {COMMIT ID}`.
113
+
* You **MUST** run the exact command: `git diff --merge-base origin/HEAD`.
114
+
*If this command fails and does not produce a changelist, try using this exact command: `git diff`.
115
+
116
116
* This is your only method for determining the changed files. Do not use any other commands for this purpose.
117
117
* Once the command is executed and you have the list of changed files, you will mark this task as complete.
118
118
@@ -129,4 +129,4 @@ You will now begin executing the plan. The following are your precise instructio
129
129
130
130
After completing these two initial tasks, continue executing the dynamically generated plan according to your **Core Operational Loop**.
0 commit comments