refactor: Improve git repository selection prompt wording

This commit is contained in:
Paul Gauthier 2024-08-28 11:13:14 -07:00 committed by Paul Gauthier (aider)
parent f5bc657027
commit 0d33fcb2be

View file

@ -27,7 +27,7 @@ def setup_git_home(io):
git_repos = list(home.glob("*/.git"))
if git_repos:
io.tool_output("Found existing Git repositories in your home directory:")
io.tool_output("Found git repositories in your home directory:")
repo_dict = {}
for i, repo in enumerate(git_repos, 1):
repo_name = repo.parent.name
@ -36,8 +36,8 @@ def setup_git_home(io):
while True:
choice = io.prompt_ask(
"Enter the number or name of the repository you want to work on, or ENTER for a new"
" project:"
"Enter the number or name of the repository you want to work on,\nor ENTER for a"
" new project:"
)
if not choice.strip():