| ... | ... | @@ -2049,7 +2049,18 @@ export const makeGitVcsDriverCore = Effect.fn("makeGitVcsDriverCore")(function* |
| 2049 | 2049 | executeGit( |
| 2050 | 2050 | "GitVcsDriver.readUntrackedReviewDiffs.diff", |
| 2051 | 2051 | cwd, |
| 2052 | | ["diff", "--no-index", "--patch", "--minimal", "--", "/dev/null", relativePath], |
| 2052 | [ |
| 2053 | "diff", |
| 2054 | "--no-index", |
| 2055 | "--patch", |
| 2056 | "--no-color", |
| 2057 | "--no-ext-diff", |
| 2058 | "--no-textconv", |
| 2059 | "--minimal", |
| 2060 | "--", |
| 2061 | "/dev/null", |
| 2062 | relativePath, |
| 2063 | ], |
| 2053 | 2064 | { |
| 2054 | 2065 | allowNonZeroExit: true, |
| 2055 | 2066 | maxOutputBytes: REVIEW_UNTRACKED_DIFF_MAX_OUTPUT_BYTES, |
| ... | ... | @@ -2094,6 +2105,9 @@ export const makeGitVcsDriverCore = Effect.fn("makeGitVcsDriverCore")(function* |
| 2094 | 2105 | [ |
| 2095 | 2106 | "diff", |
| 2096 | 2107 | "--patch", |
| 2108 | "--no-color", |
| 2109 | "--no-ext-diff", |
| 2110 | "--no-textconv", |
| 2097 | 2111 | "--minimal", |
| 2098 | 2112 | ...(input.ignoreWhitespace ? ["--ignore-all-space"] : []), |
| 2099 | 2113 | "HEAD", |
| ... | ... | @@ -2127,6 +2141,9 @@ export const makeGitVcsDriverCore = Effect.fn("makeGitVcsDriverCore")(function* |
| 2127 | 2141 | [ |
| 2128 | 2142 | "diff", |
| 2129 | 2143 | "--patch", |
| 2144 | "--no-color", |
| 2145 | "--no-ext-diff", |
| 2146 | "--no-textconv", |
| 2130 | 2147 | "--minimal", |
| 2131 | 2148 | ...(input.ignoreWhitespace ? ["--ignore-all-space"] : []), |
| 2132 | 2149 | `${baseRef}...HEAD`, |