--- /dev/null
+Description: Always use system libgit2
+Author: Ximin Luo <infinity0@debian.org>
+Forwarded: not-needed
+---
+This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
+--- a/vendor/libgit2-sys-0.6.12/build.rs
++++ b/vendor/libgit2-sys-0.6.12/build.rs
+@@ -31,10 +31,8 @@
+ }
+ let has_pkgconfig = Command::new("pkg-config").output().is_ok();
+
+- if env::var("LIBGIT2_SYS_USE_PKG_CONFIG").is_ok() {
+- if pkg_config::find_library("libgit2").is_ok() {
+- return
+- }
++ if pkg_config::find_library("libgit2").is_ok() {
++ return
+ }
+
+ if !Path::new("libgit2/.git").exists() {
--- /dev/null
+Description: Disable network tests
+Author: Ximin Luo <infinity0@debian.org>
+Forwarded: TODO
+---
+This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
+--- a/tests/build-auth.rs
++++ b/tests/build-auth.rs
+@@ -14,7 +14,7 @@
+ use hamcrest::assert_that;
+
+ // Test that HTTP auth is offered from `credential.helper`
+-#[test]
++//#[test]
+ fn http_auth_offered() {
+ let server = TcpListener::bind("127.0.0.1:0").unwrap();
+ let addr = server.local_addr().unwrap();
+@@ -127,7 +127,7 @@
+ }
+
+ // Boy, sure would be nice to have a TLS implementation in rust!
+-#[test]
++//#[test]
+ fn https_something_happens() {
+ let server = TcpListener::bind("127.0.0.1:0").unwrap();
+ let addr = server.local_addr().unwrap();
+@@ -177,7 +177,7 @@
+ }
+
+ // Boy, sure would be nice to have an SSH implementation in rust!
+-#[test]
++//#[test]
+ fn ssh_something_happens() {
+ let server = TcpListener::bind("127.0.0.1:0").unwrap();
+ let addr = server.local_addr().unwrap();
+--- a/tests/net-config.rs
++++ b/tests/net-config.rs
+@@ -4,7 +4,7 @@
+ use cargotest::support::{project, execs};
+ use hamcrest::assert_that;
+
+-#[test]
++//#[test]
+ fn net_retry_loads_from_config() {
+ let p = project("foo")
+ .file("Cargo.toml", r#"
+@@ -29,7 +29,7 @@
+ (1 tries remaining): [..]"));
+ }
+
+-#[test]
++//#[test]
+ fn net_retry_git_outputs_warning() {
+ let p = project("foo")
+ .file("Cargo.toml", r#"
+--- a/tests/test.rs
++++ b/tests/test.rs
+@@ -2194,7 +2194,7 @@
+ execs().with_status(0));
+ }
+
+-#[test]
++//#[test]
+ fn pass_correct_cfgs_flags_to_rustdoc() {
+ let p = project("foo")
+ .file("Cargo.toml", r#"
--- /dev/null
+From: Luca Bruno <lucab@debian.org>
+Description: Remove remote jquery references
+Forwarded: no
+--- a/src/doc/html-headers.html
++++ b/src/doc/html-headers.html
+@@ -1,2 +1,2 @@
+-<script src="https://code.jquery.com/jquery-2.1.1.min.js"></script>
++<script src="jquery.js"></script>
+ <link rel="icon" type="image/x-icon" href="favicon.ico">
--- /dev/null
+0xxx: Grabbed from upstream development.
+1xxx: Possibly relevant for upstream adoption.
+2xxx: Only relevant for official Debian release.
+++ /dev/null
-Description: Disable network tests
-Author: Ximin Luo <infinity0@debian.org>
-Forwarded: TODO
----
-This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
---- a/tests/build-auth.rs
-+++ b/tests/build-auth.rs
-@@ -14,7 +14,7 @@
- use hamcrest::assert_that;
-
- // Test that HTTP auth is offered from `credential.helper`
--#[test]
-+//#[test]
- fn http_auth_offered() {
- let server = TcpListener::bind("127.0.0.1:0").unwrap();
- let addr = server.local_addr().unwrap();
-@@ -127,7 +127,7 @@
- }
-
- // Boy, sure would be nice to have a TLS implementation in rust!
--#[test]
-+//#[test]
- fn https_something_happens() {
- let server = TcpListener::bind("127.0.0.1:0").unwrap();
- let addr = server.local_addr().unwrap();
-@@ -177,7 +177,7 @@
- }
-
- // Boy, sure would be nice to have an SSH implementation in rust!
--#[test]
-+//#[test]
- fn ssh_something_happens() {
- let server = TcpListener::bind("127.0.0.1:0").unwrap();
- let addr = server.local_addr().unwrap();
---- a/tests/net-config.rs
-+++ b/tests/net-config.rs
-@@ -4,7 +4,7 @@
- use cargotest::support::{project, execs};
- use hamcrest::assert_that;
-
--#[test]
-+//#[test]
- fn net_retry_loads_from_config() {
- let p = project("foo")
- .file("Cargo.toml", r#"
-@@ -29,7 +29,7 @@
- (1 tries remaining): [..]"));
- }
-
--#[test]
-+//#[test]
- fn net_retry_git_outputs_warning() {
- let p = project("foo")
- .file("Cargo.toml", r#"
---- a/tests/test.rs
-+++ b/tests/test.rs
-@@ -2194,7 +2194,7 @@
- execs().with_status(0));
- }
-
--#[test]
-+//#[test]
- fn pass_correct_cfgs_flags_to_rustdoc() {
- let p = project("foo")
- .file("Cargo.toml", r#"
+++ /dev/null
-From: Luca Bruno <lucab@debian.org>
-Description: Remove remote jquery references
-Forwarded: no
---- a/src/doc/html-headers.html
-+++ b/src/doc/html-headers.html
-@@ -1,2 +1,2 @@
--<script src="https://code.jquery.com/jquery-2.1.1.min.js"></script>
-+<script src="jquery.js"></script>
- <link rel="icon" type="image/x-icon" href="favicon.ico">
clean-cargo-deps.patch
-local-jquery.patch
-use-system-libgit2.patch
-disable-net-tests.patch
+2003_local-jquery.patch
+2001_use-system-libgit2.patch
+2002_disable-net-tests.patch
+++ /dev/null
-Description: Always use system libgit2
-Author: Ximin Luo <infinity0@debian.org>
-Forwarded: not-needed
----
-This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
---- a/vendor/libgit2-sys-0.6.12/build.rs
-+++ b/vendor/libgit2-sys-0.6.12/build.rs
-@@ -31,10 +31,8 @@
- }
- let has_pkgconfig = Command::new("pkg-config").output().is_ok();
-
-- if env::var("LIBGIT2_SYS_USE_PKG_CONFIG").is_ok() {
-- if pkg_config::find_library("libgit2").is_ok() {
-- return
-- }
-+ if pkg_config::find_library("libgit2").is_ok() {
-+ return
- }
-
- if !Path::new("libgit2/.git").exists() {