mirror of
https://github.com/Aider-AI/aider.git
synced 2025-06-01 02:05:00 +00:00
refactor: move git index version URL to urls.py
This commit is contained in:
parent
f8243b3632
commit
bfba7e8e73
2 changed files with 3 additions and 1 deletions
|
@ -326,7 +326,8 @@ def sanity_check_repo(repo, io):
|
||||||
io.tool_error("Aider only works with git repos with version number 1 or 2.")
|
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("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.")
|
io.tool_output("Or run aider --no-git to proceed without using git.")
|
||||||
io.tool_output("https://github.com/paul-gauthier/aider/issues/211")
|
from aider import urls
|
||||||
|
io.tool_output(urls.git_index_version)
|
||||||
return False
|
return False
|
||||||
|
|
||||||
io.tool_error("Unable to read git repository, it may be corrupt?")
|
io.tool_error("Unable to read git repository, it may be corrupt?")
|
||||||
|
|
|
@ -9,3 +9,4 @@ token_limits = "https://aider.chat/docs/troubleshooting/token-limits.html"
|
||||||
llms = "https://aider.chat/docs/llms.html"
|
llms = "https://aider.chat/docs/llms.html"
|
||||||
large_repos = "https://aider.chat/docs/faq.html#can-i-use-aider-in-a-large-mono-repo"
|
large_repos = "https://aider.chat/docs/faq.html#can-i-use-aider-in-a-large-mono-repo"
|
||||||
github_issues = "https://github.com/paul-gauthier/aider/issues/new"
|
github_issues = "https://github.com/paul-gauthier/aider/issues/new"
|
||||||
|
git_index_version = "https://github.com/paul-gauthier/aider/issues/211"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue