diff --git a/aider/main.py b/aider/main.py index ca5219667..53251f7a0 100644 --- a/aider/main.py +++ b/aider/main.py @@ -367,7 +367,8 @@ def sanity_check_repo(repo, io): io.tool_output("You may be able to convert your repo: git update-index --index-version=2") io.tool_output("Or run aider --no-git to proceed without using git.") #ai ask if the user wants to open the url! - io.tool_output(urls.git_index_version) + if io.confirm_ask("Open documentation url for more info?", subject=urls.git_index_version): + webbrowser.open(urls.git_index_version) return False io.tool_error("Unable to read git repository, it may be corrupt?")