Navigation Menu

Skip to content

Commit

Permalink
Only take the last commit to find the base commit for checking ABI
Browse files Browse the repository at this point in the history
  • Loading branch information
eregon committed May 3, 2021
1 parent 482320f commit 3faf0d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tool/jt.rb
Expand Up @@ -2710,7 +2710,7 @@ def lint(*args)

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

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

0 comments on commit 3faf0d8

Please sign in to comment.