mirror of
https://github.com/Aider-AI/aider.git
synced 2025-06-01 02:05:00 +00:00
refactor: improve Git repository selection prompt and messaging
This commit is contained in:
parent
1eed9dc4e0
commit
7dcdc2f17e
1 changed files with 2 additions and 2 deletions
|
@ -27,11 +27,11 @@ 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 existing Git repositories in folders in your home directory:")
|
||||
for i, repo in enumerate(git_repos, 1):
|
||||
io.tool_output(f"{i}. {repo.parent.name}")
|
||||
|
||||
choice = io.user_input(
|
||||
choice = io.prompt_ask(
|
||||
"Enter the number of the repository you want to work on, or 'n' for a new project: "
|
||||
)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue