Skip to content

Commit 8ad8c6b

Browse files
committed
Add changelog entry
1 parent 4f63e9e commit 8ad8c6b

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

changelog.d/pr-10590

+14
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
---
2+
synopsis: "Don't run submodule commands unless necessary"
3+
packages: [cabal-install]
4+
prs: 10590
5+
---
6+
7+
When `cabal` clones a Git repo for a `source-repository-package` listed in a
8+
`cabal.project`, it will run various commands to check out the correct
9+
revision, initialize submodules if they're present, and so on.
10+
11+
Now, `cabal` will avoid running `git submodule` commands unless the cloned
12+
repository contains a `.gitmodules` file. This will declutter `cabal`'s debug
13+
output by running fewer commands.
14+

0 commit comments

Comments
 (0)