mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-29 16:54:59 +00:00
wip
This commit is contained in:
parent
01b5bdc829
commit
c16224b37a
2 changed files with 6 additions and 4 deletions
|
@ -381,10 +381,10 @@ class InputOutput:
|
||||||
watcher.start()
|
watcher.start()
|
||||||
dump(watcher)
|
dump(watcher)
|
||||||
|
|
||||||
try:
|
|
||||||
rel_fnames = list(rel_fnames)
|
rel_fnames = list(rel_fnames)
|
||||||
show = ""
|
show = ""
|
||||||
if rel_fnames:
|
if rel_fnames:
|
||||||
rel_read_only_fnames = [
|
rel_read_only_fnames = [
|
||||||
get_rel_fname(fname, root) for fname in (abs_read_only_fnames or [])
|
get_rel_fname(fname, root) for fname in (abs_read_only_fnames or [])
|
||||||
]
|
]
|
||||||
|
|
|
@ -73,6 +73,8 @@ def watch_source_files(
|
||||||
and returns True if it should be ignored
|
and returns True if it should be ignored
|
||||||
"""
|
"""
|
||||||
root = Path(directory)
|
root = Path(directory)
|
||||||
|
dump(root)
|
||||||
|
|
||||||
gitignore_paths = [Path(g) for g in gitignores] if gitignores else []
|
gitignore_paths = [Path(g) for g in gitignores] if gitignores else []
|
||||||
gitignore_spec = load_gitignores(gitignore_paths)
|
gitignore_spec = load_gitignores(gitignore_paths)
|
||||||
root_abs = root.absolute()
|
root_abs = root.absolute()
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue