Skip to content

Commit

Permalink
Add changelog entry
Browse files Browse the repository at this point in the history
  • Loading branch information
9999years committed Nov 25, 2024
1 parent 4f63e9e commit 8ad8c6b
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions changelog.d/pr-10590
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
---
synopsis: "Don't run submodule commands unless necessary"
packages: [cabal-install]
prs: 10590
---

When `cabal` clones a Git repo for a `source-repository-package` listed in a
`cabal.project`, it will run various commands to check out the correct
revision, initialize submodules if they're present, and so on.

Now, `cabal` will avoid running `git submodule` commands unless the cloned
repository contains a `.gitmodules` file. This will declutter `cabal`'s debug
output by running fewer commands.

0 comments on commit 8ad8c6b

Please sign in to comment.