From a11b8d7f937e79820060d113205527323e84ce06 Mon Sep 17 00:00:00 2001 From: Kyle Gottfried <6462596+Spitfire1900@users.noreply.github.com> Date: Tue, 31 Dec 2024 20:10:31 -0500 Subject: [PATCH] print git log --- tests/test_xontrib.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tests/test_xontrib.py b/tests/test_xontrib.py index ce3d2a0..9c67de3 100644 --- a/tests/test_xontrib.py +++ b/tests/test_xontrib.py @@ -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}'