We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0c9966a commit 8b43cf4Copy full SHA for 8b43cf4
src/utils/git/ls-files.ts
@@ -4,7 +4,8 @@ export const lsFiles = (): string[] => {
4
// --others & --exclude-standard: get untracked files that are not ignored
5
// --cached: get files that are staged
6
const fileBuffer = execSync(
7
- 'git ls-files --others --cached --exclude-standard',
+ 'git ls-files --others --cached --exclude-standard ',
8
+ { maxBuffer: 1024 * 1024 * 10 }, // 10 MB buffer
9
)
10
const files = fileBuffer.toString().split('\n').filter(Boolean)
11
0 commit comments