-
Notifications
You must be signed in to change notification settings - Fork 696
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
14 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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. | ||
|