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
this.log(`[tf-patch] Diffing source module and patch dir: \nA: ${dirA}\nB: ${dirB}`)
55
-
// Using yarn as reference - https://github.com/yarnpkg/berry/blob/7fab4f101d1b8a98691efe14696d18ce00ecd234/packages/plugin-patch/sources/patchUtils.ts#L281-L298
56
-
constgitDiff=awaitspawn(
57
-
`git`,
58
-
[
59
-
`-c`,
60
-
`core.safecrlf=false`,
61
-
`diff`,
62
-
`--src-prefix=a/`,
63
-
`--dst-prefix=b/`,
64
-
`--ignore-cr-at-eol`,
65
-
`--full-index`,
66
-
`--no-index`,
67
-
`--no-renames`,
68
-
`--text`,
69
-
dirA,
70
-
dirB,
71
-
],
72
-
{
73
-
env: {
74
-
...process.env,
75
-
// #region Predictable output
76
-
// These variables aim to ignore the global git config so we get predictable output
this.log(`[tf-patch] Diffing source module and patch dir: \nA: ${dirA}\nB: ${dirB}`)
58
+
// Using yarn as reference - https://github.com/yarnpkg/berry/blob/7fab4f101d1b8a98691efe14696d18ce00ecd234/packages/plugin-patch/sources/patchUtils.ts#L281-L298
59
+
constgitDiff=awaitspawn(
60
+
`git`,
61
+
[
62
+
`-c`,
63
+
`core.safecrlf=false`,
64
+
`diff`,
65
+
`--src-prefix=a/`,
66
+
`--dst-prefix=b/`,
67
+
`--ignore-cr-at-eol`,
68
+
`--full-index`,
69
+
`--no-index`,
70
+
`--no-renames`,
71
+
`--text`,
72
+
dirA,
73
+
dirB,
74
+
],
75
+
{
76
+
env: {
77
+
...process.env,
78
+
// #region Predictable output
79
+
// These variables aim to ignore the global git config so we get predictable output
0 commit comments