Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions Formula/g/git-interactive-rebase-tool.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ class GitInteractiveRebaseTool < Formula
url "https://github.com/MitMaro/git-interactive-rebase-tool/archive/refs/tags/2.4.1.tar.gz"
sha256 "0b1ba68a1ba1548f44209ce1228d17d6d5768d72ffa991909771df8e9d42d70d"
license "GPL-3.0-or-later"
revision 1

livecheck do
url :stable
Expand All @@ -22,7 +23,7 @@ class GitInteractiveRebaseTool < Formula

depends_on "pkg-config" => :build
depends_on "rust" => :build
depends_on "libgit2"
depends_on "libgit2@1.7"

uses_from_macos "zlib"

Expand Down Expand Up @@ -67,7 +68,7 @@ def check_binary_linkage(binary, library)
assert_equal expected_git_rebase_todo, todo_file.read

[
Formula["libgit2"].opt_lib/shared_library("libgit2"),
Formula["libgit2@1.7"].opt_lib/shared_library("libgit2"),
].each do |library|
assert check_binary_linkage(bin/"interactive-rebase-tool", library),
"No linkage with #{library.basename}! Cargo is likely using a vendored version."
Expand Down