Skip to content

Commit

Permalink
Fix verbosity of git
Browse files Browse the repository at this point in the history
The lack of parenthesis in this line meant that we'd only see the
verbose output from git when we had a `peerLocalDir`.

This should fix verbosity of git
  • Loading branch information
alt-romes committed Dec 13, 2024
1 parent 62f4bff commit 9669788
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions cabal-install/src/Distribution/Client/VCS.hs
Original file line number Diff line number Diff line change
Expand Up @@ -634,10 +634,11 @@ vcsGit =
cloneArgs =
["clone"]
++ depthIs1
++ [ "--no-checkout", loc, localDir]
++ case peer of
Nothing -> []
Just peerLocalDir -> ["--reference", peerLocalDir]
++ ["--no-checkout", loc, localDir]
++ ( case peer of
Nothing -> []
Just peerLocalDir -> ["--reference", peerLocalDir]
)
++ verboseArg
where
loc = srpLocation
Expand Down

0 comments on commit 9669788

Please sign in to comment.