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
  • Loading branch information
meeroslav committed Sep 30, 2022
1 parent 2889372 commit 2f0d61f
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

1 comment on commit 2f0d61f

@skrtheboss
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Might fix #12338

Please sign in to comment.