stronger wholefile prompt about file listings; adopt allowed_to_edit in wholefile; tests

This commit is contained in:
Paul Gauthier 2023-06-24 14:45:43 -07:00
parent d00e7c39d1
commit eaf02da46b
4 changed files with 50 additions and 12 deletions

View file

@ -95,6 +95,9 @@ class Coder:
stream=True,
use_git=True,
):
if not fnames:
fnames = []
self.verbose = verbose
self.abs_fnames = set()
self.cur_messages = []