Skip to content

Commit 0334b08

Browse files
committed
[GR-18163] Only take the last commit to find the base commit for checking ABI
PullRequest: truffleruby/2629
2 parents 4678d77 + 3faf0d8 commit 0334b08

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tool/jt.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2710,7 +2710,7 @@ def lint(*args)
27102710

27112711
def check_abi
27122712
# Check since the last commit at which ABI_CHECK_FILE or ABI_VERSION_FILE were modified
2713-
base_commit = `git log --format=%H #{ABI_VERSION_FILE} #{ABI_CHECK_FILE}`.chomp
2713+
base_commit = `git log -n 1 --format=%H #{ABI_VERSION_FILE} #{ABI_CHECK_FILE}`.chomp
27142714

27152715
changed_files = changed_files(base_commit)
27162716
# All files which can affect the ABI of libtruffleruby.so

0 commit comments

Comments
 (0)