mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-30 01:04:59 +00:00
move import
This commit is contained in:
parent
cde45d9fdf
commit
d17bd6ebcc
1 changed files with 1 additions and 3 deletions
|
@ -11,7 +11,7 @@ import git
|
|||
from dotenv import load_dotenv
|
||||
from prompt_toolkit.enums import EditingMode
|
||||
|
||||
from aider import __version__, models, utils
|
||||
from aider import __version__, models, urls, utils
|
||||
from aider.args import get_parser
|
||||
from aider.coders import Coder
|
||||
from aider.commands import Commands, SwitchCoder
|
||||
|
@ -326,8 +326,6 @@ def sanity_check_repo(repo, io):
|
|||
io.tool_error("Aider only works with git repos with version number 1 or 2.")
|
||||
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.")
|
||||
from aider import urls
|
||||
|
||||
io.tool_output(urls.git_index_version)
|
||||
return False
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue