Skip to content

Commit

Permalink
Test that the fix from HEAD^^ works
Browse files Browse the repository at this point in the history
  • Loading branch information
Witiko committed Jan 18, 2024
1 parent 83ef80c commit 9acf481
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/test.py
Original file line number Diff line number Diff line change
Expand Up @@ -695,6 +695,7 @@ def format_testfile(testfile: TestFile) -> str:
def get_added_and_modified_paths(repo_path=Path('..'), main_branch='origin/main'):
added_paths, modified_paths = set(), set()
try:
os.system('git config --global --add safe.directory /__w/markdown/markdown') # XXX: Remove me
repo = Repo(str(repo_path))
main_commit = repo.commit(main_branch)
diffs = main_commit.diff(repo.head.commit)
Expand Down

0 comments on commit 9acf481

Please sign in to comment.