Skip to content

Commit 9669788

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 62f4bff commit 9669788

File tree

1 file changed

+5
-4
lines changed
  • cabal-install/src/Distribution/Client

1 file changed

+5
-4
lines changed

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

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -634,10 +634,11 @@ vcsGit =
634634
cloneArgs =
635635
["clone"]
636636
++ depthIs1
637-
++ [ "--no-checkout", loc, localDir]
638-
++ case peer of
639-
Nothing -> []
640-
Just peerLocalDir -> ["--reference", peerLocalDir]
637+
++ ["--no-checkout", loc, localDir]
638+
++ ( case peer of
639+
Nothing -> []
640+
Just peerLocalDir -> ["--reference", peerLocalDir]
641+
)
641642
++ verboseArg
642643
where
643644
loc = srpLocation

0 commit comments

Comments
 (0)