Skip to content

Commit d6b7a6c

Browse files
authored
Merge pull request #845 from ocaml/fix-git-config-set
Configure git config globally instead of locally
2 parents 319adae + 98e4e0a commit d6b7a6c

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
lines changed

CHANGELOG.md

+4
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,10 @@ and this project adheres to
88

99
## [unreleased]
1010

11+
### Fixed
12+
13+
- Configure git config globally instead of locally.
14+
1115
## [3.0.6]
1216

1317
### Fixed

dist/index.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/setup-ocaml/src/windows.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ async function setGitToIgnoreCygwinLocalPackageDirectory() {
6262
} finally {
6363
await exec(
6464
"git",
65-
["config", "--add", "--local", "core.excludesfile", globalGitIgnorePath],
65+
["config", "--add", "--global", "core.excludesfile", globalGitIgnorePath],
6666
{ windowsVerbatimArguments: true },
6767
);
6868
}

0 commit comments

Comments
 (0)