diff --git a/gitinspector/format.py b/gitinspector/format.py index 92c221c..ef751be 100644 --- a/gitinspector/format.py +++ b/gitinspector/format.py @@ -122,7 +122,17 @@ def output_header(repos): elif __selected_format__ == "xml": print("") print("\t" + version.__version__ + "") - print("\t" + repos_string + "") + + if len(repos) <= 1: + print("\t" + repos_string + "") + else: + print("\t") + + for repo in repos: + print("\t\t" + repo.name + "") + + print("\t") + print("\t" + time.strftime("%Y/%m/%d") + "") else: print(textwrap.fill(_(INFO_ONE_REPOSITORY if len(repos) <= 1 else INFO_MANY_REPOSITORIES).format(