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 f93d435 commit 702e39e
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 702e39e

Please sign in to comment.