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 16, 2024
1 parent ed9968c commit c9388d9
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 @@ -637,10 +637,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 c9388d9

Please sign in to comment.