From df3fdf3758cc34e0625fa0a640e515678ee2fc68 Mon Sep 17 00:00:00 2001 From: a-kenji Date: Wed, 1 Oct 2025 12:20:27 +0200 Subject: [PATCH] pkgs/lib/git: List all files that are committed --- pkgs/clan-cli/clan_lib/git/__init__.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/pkgs/clan-cli/clan_lib/git/__init__.py b/pkgs/clan-cli/clan_lib/git/__init__.py index 708bbddb6..5837f8986 100644 --- a/pkgs/clan-cli/clan_lib/git/__init__.py +++ b/pkgs/clan-cli/clan_lib/git/__init__.py @@ -132,4 +132,8 @@ def _commit_file_to_git( relative_path = file_paths[0].relative_to(repo_dir) log.info(f"Committed {relative_path} to git") else: - log.info(f"Committed {len(file_paths)} files to git") + relative_paths = [ + file_path.relative_to(repo_dir) for file_path in file_paths + ] + files_str = ", ".join(str(path) for path in relative_paths) + log.info(f"Committed {len(file_paths)} files to git: {files_str}")