mirror of
https://github.com/gfx-rs/wgpu.git
synced 2025-12-08 21:26:17 +00:00
Use backwards-compatible options to git config (#7934)
This commit is contained in:
parent
5b2c8406bf
commit
ae946dbb8c
@ -80,7 +80,7 @@ pub fn run_cts(shell: Shell, mut args: Arguments) -> anyhow::Result<()> {
|
|||||||
// clones may not have it. Eventually this can be removed.
|
// clones may not have it. Eventually this can be removed.
|
||||||
if shell
|
if shell
|
||||||
.cmd("git")
|
.cmd("git")
|
||||||
.args(["config", "get", "remote.origin.fetch"])
|
.args(["config", "--get", "remote.origin.fetch"])
|
||||||
.quiet()
|
.quiet()
|
||||||
.ignore_stdout()
|
.ignore_stdout()
|
||||||
.ignore_stderr()
|
.ignore_stderr()
|
||||||
@ -91,7 +91,6 @@ pub fn run_cts(shell: Shell, mut args: Arguments) -> anyhow::Result<()> {
|
|||||||
.cmd("git")
|
.cmd("git")
|
||||||
.args([
|
.args([
|
||||||
"config",
|
"config",
|
||||||
"set",
|
|
||||||
"remote.origin.fetch",
|
"remote.origin.fetch",
|
||||||
"+refs/heads/gh-pages:refs/remotes/origin/gh-pages",
|
"+refs/heads/gh-pages:refs/remotes/origin/gh-pages",
|
||||||
])
|
])
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user