Skip to content

Commit

Permalink
Merge pull request #39 from piotrnarajowski/patch15
Browse files Browse the repository at this point in the history
patch 15
  • Loading branch information
piotrnarajowski authored Jul 16, 2024
2 parents 0869b65 + 89e0be2 commit d21eec4
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/check_for_changes.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,13 +26,13 @@ def main():
return

try:
commit = "HEAD"
upstream = "origin/master"
mb = run_cmd(f"git merge-base {upstream} {commit}")
upstream = mb[0]
# commit = "HEAD"
# upstream = "origin/master"
# mb = run_cmd(f"git merge-base {upstream} {commit}")
# upstream = mb[0]

result = subprocess.run(
['git', 'diff', '--name-only', upstream, commit, '--', 'autopts/wid/'],
['git', 'diff', '--name-only', 'HEAD^', 'HEAD', '--', 'autopts/wid/'],
stdout=subprocess.PIPE, stderr=subprocess.PIPE, text=True, check=True
)

Expand Down

0 comments on commit d21eec4

Please sign in to comment.