Skip to content

Commit

Permalink
gitconfig: use unlines
Browse files Browse the repository at this point in the history
  • Loading branch information
9999years authored and Mikolaj committed Nov 27, 2024
1 parent 7fc108d commit c0c1432
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions cabal-install/tests/UnitTests/Distribution/Client/VCS.hs
Original file line number Diff line number Diff line change
Expand Up @@ -915,11 +915,13 @@ vcsTestDriverGit
-- See: https://github.blog/open-source/git/git-security-vulnerabilities-announced/#fn-67904-1
-- See: https://git-scm.com/docs/git-config#Documentation/git-config.txt-protocolallow
gitconfig =
"[protocol.file]\n\
\allow = always\n\
\[user]\n\
\name = Puppy Doggy\n\
\email = [email protected]\n"
unlines
[ "[protocol.file]"
, " allow = always"
, "[user]"
, " name = Puppy Doggy"
, " email = [email protected]"
]

vcs' =
vcs
Expand Down

0 comments on commit c0c1432

Please sign in to comment.