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 9376e1a commit 8ee89f0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cabal-install/src/Distribution/Client/VCS.hs
Original file line number Diff line number Diff line change
Expand Up @@ -638,9 +638,9 @@ vcsGit =
["clone" ]
++ depthIs1
++ [ "--no-checkout", loc, localDir]
++ case peer of
++ (case peer of
Nothing -> []
Just peerLocalDir -> ["--reference", peerLocalDir]
Just peerLocalDir -> ["--reference", peerLocalDir])
++ verboseArg
where
loc = srpLocation
Expand Down

0 comments on commit 8ee89f0

Please sign in to comment.