mirror of
https://github.com/saymrwulf/transformers.git
synced 2026-05-14 20:58:08 +00:00
a more reliable version of branching point discovery (#9449)
This commit is contained in:
parent
3ec40299c1
commit
28d74872cc
1 changed files with 1 additions and 1 deletions
|
|
@ -24,7 +24,7 @@ import subprocess
|
|||
import sys
|
||||
|
||||
|
||||
fork_point_sha = subprocess.check_output("git merge-base --fork-point master".split()).decode("utf-8")
|
||||
fork_point_sha = subprocess.check_output("git merge-base master HEAD".split()).decode("utf-8")
|
||||
modified_files = subprocess.check_output(f"git diff --name-only {fork_point_sha}".split()).decode("utf-8").split()
|
||||
|
||||
joined_dirs = "|".join(sys.argv[1:])
|
||||
|
|
|
|||
Loading…
Reference in a new issue