File tree Expand file tree Collapse file tree 2 files changed +8
-5
lines changed Expand file tree Collapse file tree 2 files changed +8
-5
lines changed Original file line number Diff line number Diff line change 91
91
sudo apt-get update
92
92
sudo apt-get install -y gcc-s390x-linux-gnu qemu-user
93
93
94
- - name : Windows setup
95
- if : matrix.os == 'windows-latest'
96
- run : git config --global core.autocrlf false
97
-
98
94
- name : Use sparse cargo registry
99
95
run : |
100
96
cat >> ~/.cargo/config.toml <<EOF
Original file line number Diff line number Diff line change @@ -196,7 +196,14 @@ pub(crate) fn hyperfine_command(
196
196
#[ must_use]
197
197
pub ( crate ) fn git_command < ' a > ( repo_dir : impl Into < Option < & ' a Path > > , cmd : & str ) -> Command {
198
198
let mut git_cmd = Command :: new ( "git" ) ;
199
- git_cmd. arg ( "-c" ) . arg ( "user.name=Dummy" ) . arg ( "-c" ) . arg ( "user.email=dummy@example.com" ) . arg ( cmd) ;
199
+ git_cmd
200
+ . arg ( "-c" )
201
+ . arg ( "user.name=Dummy" )
202
+ . arg ( "-c" )
203
+ . arg ( "user.email=dummy@example.com" )
204
+ . arg ( "-c" )
205
+ . arg ( "core.autocrlf=false" )
206
+ . arg ( cmd) ;
200
207
if let Some ( repo_dir) = repo_dir. into ( ) {
201
208
git_cmd. current_dir ( repo_dir) ;
202
209
}
You can’t perform that action at this time.
0 commit comments