canola.nvim/lua/oil/adapters
ericguin 3abb6077d7
fix(ssh): config option to pass extra args to SCP (#340)
* Adding in SCP options configuration

This changeset adds in additional SCP options to the config. This allows
the user to specify a list of flags to send to the SCP command that will
be expanded into each shell command.

The primary driver for this is from newe boxes SSHing into pre 9 openSSH
boxes. New openSSH uses sftp server under the hood, rather than the
older SCP protocol. If you go into a system that does not have these
changes, SCP fails to work. The '-O' command line flag was introduced to
resolve this.

Using this change, the user can now pass in `extra_scp_options = {"-O"}`
to resolve the issue.

* Replacing table.unpack with global unpack

* lint: apply stylua

* refactor: change option name and shuffle config around

---------

Co-authored-by: Eric Guinn <eric_guinn@selinc.com>
Co-authored-by: Steven Arcangeli <stevearc@stevearc.com>
2024-05-06 10:42:23 -07:00
..
files fix: sometimes use shell to run trash command (#99) 2023-08-20 05:10:09 +00:00
ssh fix(ssh): garbled output when directory has broken symlinks 2024-05-01 16:10:10 -07:00
trash fix(windows): can delete non-ascii filenames to trash (#323) 2024-03-04 10:50:22 -08:00
files.lua fix(windows): navigating into drive letter root directories (#341) 2024-04-23 22:06:59 -07:00
ssh.lua fix(ssh): config option to pass extra args to SCP (#340) 2024-05-06 10:42:23 -07:00
test.lua refactor: remove cache side effects from adapter.list 2023-08-20 21:50:02 +00:00
trash.lua feat(trash): support for deleting to windows recycle bin (#243) 2024-01-02 22:05:01 -08:00