Skip to content

Commit

Permalink
fix(core): disable broken git hasher recourse submodules (#12337)
Browse files Browse the repository at this point in the history
(cherry picked from commit 2f0d61f)
  • Loading branch information
meeroslav authored and FrozenPandaz committed Oct 3, 2022
1 parent c3f853a commit f54dd1a
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion packages/nx/src/hasher/git-hasher.ts
Expand Up @@ -105,7 +105,13 @@ async function spawnProcess(
async function getStagedFiles(path: string) {
const { stdout: staged } = await spawnProcess(
'git',
['ls-files', '--recurse-submodules', '-s', '-z', '--exclude-standard', '.'],
[
'ls-files',
/*'--recurse-submodules',*/ '-s',
'-z',
'--exclude-standard',
'.',
],
path
);
const res = new Map();
Expand Down

0 comments on commit f54dd1a

Please sign in to comment.