about summary refs log tree commit diff
path: root/third_party/josh/pin-git2-rev.patch
blob: 7dd427b49ba415d84a9f5918dcc8e1c59e9de84a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
From 1b743ee032fe14836f8b8d49e512f67adfe2440b Mon Sep 17 00:00:00 2001
From: Vincent Ambo <tazjin@google.com>
Date: Thu, 15 Apr 2021 17:05:10 +0200
Subject: [PATCH] Pin git2 revision in Cargo.toml

---
 Cargo.lock            | 4 ++--
 Cargo.toml            | 2 +-
 josh-proxy/Cargo.toml | 2 +-
 3 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/Cargo.lock b/Cargo.lock
index 5ee1b34..50139e0 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -636,7 +636,7 @@ checksum = "f6503fe142514ca4799d4c26297c4248239fe8838d827db6bd6065c6ed29a6ce"
 [[package]]
 name = "git2"
 version = "0.13.17"
-source = "git+https://github.com/initcrash/git2-rs.git#758aab9fc08fa59b57b3968a2ef6f0901a2b7007"
+source = "git+https://github.com/initcrash/git2-rs.git?rev=758aab9fc08fa59b57b3968a2ef6f0901a2b7007#758aab9fc08fa59b57b3968a2ef6f0901a2b7007"
 dependencies = [
  "bitflags",
  "libc",
@@ -1153,7 +1153,7 @@ checksum = "ba4aede83fc3617411dc6993bc8c70919750c1c257c6ca6a502aed6e0e2394ae"
 [[package]]
 name = "libgit2-sys"
 version = "0.12.18+1.1.0"
-source = "git+https://github.com/initcrash/git2-rs.git#758aab9fc08fa59b57b3968a2ef6f0901a2b7007"
+source = "git+https://github.com/initcrash/git2-rs.git?rev=758aab9fc08fa59b57b3968a2ef6f0901a2b7007#758aab9fc08fa59b57b3968a2ef6f0901a2b7007"
 dependencies = [
  "cc",
  "libc",
diff --git a/Cargo.toml b/Cargo.toml
index 4234701..4dcbcd6 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -15,7 +15,7 @@ members = ["josh-proxy", "josh-ui"]
 [dependencies]
 handlebars = "3.5"
 #git2 = {version = "0.13", default-features = false}
-git2 = { git = "https://github.com/initcrash/git2-rs.git", default-features = false}
+git2 = { git = "https://github.com/initcrash/git2-rs.git", default-features = false, rev = "758aab9fc08fa59b57b3968a2ef6f0901a2b7007" }
 #git2 = { path="../../git2-rs", default-features = false}
 clap = "2"
 tracing = "*"
diff --git a/josh-proxy/Cargo.toml b/josh-proxy/Cargo.toml
index 6d1c30d..680af88 100644
--- a/josh-proxy/Cargo.toml
+++ b/josh-proxy/Cargo.toml
@@ -20,7 +20,7 @@ hyper_cgi = "0.1"
 hyper-staticfile = "*"
 hyper-tls = "*"
 toml = "0.5"
-git2 = { git = "https://github.com/initcrash/git2-rs.git", default-features = false}
+git2 = { git = "https://github.com/initcrash/git2-rs.git", default-features = false, rev = "758aab9fc08fa59b57b3968a2ef6f0901a2b7007" }
 tracing = { version = "0.1", features = ["max_level_trace", "release_max_level_trace"] }
 tracing-futures = "0.2"
 tracing-subscriber = "0.2"
-- 
2.31.1.295.g9ea45b61b8-goog