mirror of
https://github.com/Aider-AI/aider.git
synced 2025-06-04 19:55:00 +00:00
cleanup --show-repo-map
This commit is contained in:
parent
041c19b7dd
commit
6ab4f09a3a
2 changed files with 16 additions and 11 deletions
|
@ -389,10 +389,9 @@ def main(args=None, input=None, output=None):
|
|||
)
|
||||
|
||||
if args.show_repo_map:
|
||||
other_files = set(coder.get_all_abs_files()) - set(coder.abs_fnames)
|
||||
if coder.repo_map:
|
||||
repo_content = coder.repo_map.get_repo_map(coder.abs_fnames, other_files)
|
||||
print(repo_content)
|
||||
repo_map = coder.get_repo_map()
|
||||
if repo_map:
|
||||
io.tool_output(repo_map)
|
||||
return
|
||||
|
||||
if args.dirty_commits:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue