diff options
Diffstat (limited to 'testing/cargo/fix-test-build-auth.patch')
-rw-r--r-- | testing/cargo/fix-test-build-auth.patch | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/testing/cargo/fix-test-build-auth.patch b/testing/cargo/fix-test-build-auth.patch index 7269f195a6..2fdb50c1c6 100644 --- a/testing/cargo/fix-test-build-auth.patch +++ b/testing/cargo/fix-test-build-auth.patch @@ -21,9 +21,9 @@ the same as actually used libgit2... let mut conn = BufStream::new(server.accept().unwrap().0); let req = headers(&mut conn); - let user_agent = if cfg!(windows) { -- "User-Agent: git/1.0 (libgit2 0.25.0)" +- "User-Agent: git/1.0 (libgit2 0.25.1)" - } else { -- "User-Agent: git/2.0 (libgit2 0.25.0)" +- "User-Agent: git/2.0 (libgit2 0.25.1)" - }; conn.write_all(b"\ HTTP/1.1 401 Unauthorized\r\n\ |