From c3b6148d34f50498f7e996175573183cda481eef Mon Sep 17 00:00:00 2001 From: Lephenixnoir Date: Thu, 8 Aug 2024 17:49:40 +0200 Subject: [PATCH] show: also show list of configs --- giteapc/repo.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/giteapc/repo.py b/giteapc/repo.py index 9284675..1ec4bbc 100644 --- a/giteapc/repo.py +++ b/giteapc/repo.py @@ -79,6 +79,10 @@ def print_repo(r, branches=None, tags=None, has_giteapc=True): print(" ->", os.readlink(r.folder)) else: print("") + print(" {W}Configs:{_}".format(**colors()), end="") + for c in r.configs(): + print(" " + c, end="") + print("") branches = r.branches() tags = r.tags()