Skip to content

Commit

Permalink
print git log
Browse files Browse the repository at this point in the history
  • Loading branch information
Spitfire1900 committed Jan 1, 2025
1 parent 4d3a8d6 commit a11b8d7
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tests/test_xontrib.py
Original file line number Diff line number Diff line change
Expand Up @@ -165,6 +165,10 @@ def test_conflict(tmp_path):
print(f'Repo path: {git_repo=}')
print(f'current directory: {os.getcwd()=}')
print(git_repo.git.status())
print('Printing git tree...')
print(
git_repo.git.log(
'--branches --remotes --tags --graph --oneline --decorate'.split(' ')))
assert PromptFormatter()('{pygitstatus.conflicts}') == '{RED}×1{RESET}'


Expand Down

0 comments on commit a11b8d7

Please sign in to comment.