Skip to content

Commit a370e2a

Browse files
chenrui333daeho-ro
authored andcommitted
git-delta: update to use libgit2 1.9
Signed-off-by: Rui Chen <[email protected]>
1 parent 9fd48be commit a370e2a

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

Formula/g/git-delta.rb

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ class GitDelta < Formula
44
url "https://github.com/dandavison/delta/archive/refs/tags/0.18.2.tar.gz"
55
sha256 "64717c3b3335b44a252b8e99713e080cbf7944308b96252bc175317b10004f02"
66
license "MIT"
7-
revision 2
7+
revision 3
88
head "https://github.com/dandavison/delta.git", branch: "main"
99

1010
bottle do
@@ -18,15 +18,15 @@ class GitDelta < Formula
1818

1919
depends_on "pkgconf" => :build
2020
depends_on "rust" => :build
21-
depends_on "libgit2@1.8" # needs https://github.com/rust-lang/git2-rs/issues/1109 to support libgit2 1.9
21+
depends_on "libgit2"
2222
depends_on "oniguruma"
2323

2424
uses_from_macos "zlib"
2525

26-
# support libgit2 1.8, https://github.com/dandavison/delta/pull/1930
26+
# support libgit2 1.9, https://github.com/dandavison/delta/pull/1930
2727
patch do
28-
url "https://github.com/dandavison/delta/commit/b90f249f7186696bb104cd992d705108373d216a.patch?full_index=1"
29-
sha256 "a3b2839fe70c8a2452e016dff663791d42ad650f9169e210a6a8fe1a519e2939"
28+
url "https://github.com/dandavison/delta/commit/9d6101e82a79daecfa9e81fa54c440b2e0442a33.patch?full_index=1"
29+
sha256 "1967b73aeaba44cf96a3f2866d436449668028d6f8a6fa77dbc0d5c3c386c0cf"
3030
end
3131

3232
def install

0 commit comments

Comments
 (0)