Skip to content

Commit 8ee89f0

Browse files
committed
Fix verbosity of git
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
1 parent 9376e1a commit 8ee89f0

File tree

1 file changed

+2
-2
lines changed
  • cabal-install/src/Distribution/Client

1 file changed

+2
-2
lines changed

cabal-install/src/Distribution/Client/VCS.hs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -638,9 +638,9 @@ vcsGit =
638638
["clone" ]
639639
++ depthIs1
640640
++ [ "--no-checkout", loc, localDir]
641-
++ case peer of
641+
++ (case peer of
642642
Nothing -> []
643-
Just peerLocalDir -> ["--reference", peerLocalDir]
643+
Just peerLocalDir -> ["--reference", peerLocalDir])
644644
++ verboseArg
645645
where
646646
loc = srpLocation

0 commit comments

Comments
 (0)