]> git.lizzy.rs Git - rust.git/commit
Rollup merge of #61322 - pietroalbini:debug-windows-submodule-cloning, r=alexcrichton
authorMazdak Farrokhzad <twingoow@gmail.com>
Thu, 30 May 2019 08:53:05 +0000 (10:53 +0200)
committerGitHub <noreply@github.com>
Thu, 30 May 2019 08:53:05 +0000 (10:53 +0200)
commit6282fae46f34cdf1700a218120655ce1582c4e07
tree0d173d40b755ef51d66b5f6740e073237e67c1e1
parentbc3f373cbb31174ab9956ea9de4b67a56065651d
parent5f4f3684b93180097b8ed6a53b7090fc4e7d884c
Rollup merge of #61322 - pietroalbini:debug-windows-submodule-cloning, r=alexcrichton

ci: display more debug information in the init_repo script

I'm *really* confused about the error message [while cloning submodules on Windows on Azure](https://dev.azure.com/rust-lang/e71b0ddf-dd27-435a-873c-e30f86eea377/_apis/build/builds/295/logs/506):

```
/usr/bin/tar: You must specify one of the '-Acdtrux', '--delete' or '--test-label' options
Try '/usr/bin/tar --help' or '/usr/bin/tar --usage' for more information.
```

It doesn't make sense for it to execute a command without any of those flags since they're clearly added:

https://github.com/rust-lang/rust/blob/81970852e172c04322cbf8ba23effabeb491c83c/src/ci/init_repo.sh#L45

So this adds `set -x` to the script to hopefully catch what command it's executing.

r? @alexcrichton
cc https://github.com/rust-lang/rust/issues/61301