When using ailly --edit, if there is too much context (such as a deep directory tree or large, compressed files), --edit will try and fail to provide new content, but will still offer the user an option to Continue? (y/N). The output will show all the suggested lines to remove, prepended with - characters, but there will be no suggestions to add with the + character. This might be confusing to an end user, and potentially destroy work if they unknowingly choose y as lines will be removed, but none added.
When encountering this sort of error, ailly --edit should gracefully error out and not provide an option to remove lines when it has nothing to replace them with.
When using
ailly --edit
, if there is too much context (such as a deep directory tree or large, compressed files),--edit
will try and fail to provide new content, but will still offer the user an option toContinue? (y/N)
. The output will show all the suggested lines to remove, prepended with-
characters, but there will be no suggestions to add with the+
character. This might be confusing to an end user, and potentially destroy work if they unknowingly choosey
as lines will be removed, but none added.When encountering this sort of error,
ailly --edit
should gracefully error out and not provide an option to remove lines when it has nothing to replace them with.