[openssh-commits] [openssh] branch master updated (ff9809fd -> ac1ec954)

git+noreply at mindrot.org git+noreply at mindrot.org
Fri Sep 16 13:35:28 AEST 2022


This is an automated email from the git hooks/post-receive script.

djm pushed a change to branch master
in repository openssh.

      from  ff9809fd  upstream: sk_enroll: never drop SSH_SK_USER_VERIFICATION_REQD flag
       new  590db833  upstream: sftp: Don't attempt to complete arguments for
       new  ac1ec954  upstream: sftp: Be a bit more clever about completions

The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "adds" were already present in the repository and have only
been added to this reference.


Detailed log of new commits:

commit ac1ec9545947d9f9657259f55d04cb49d3a94c8a
Author: djm at openbsd.org <djm at openbsd.org>
Date:   Fri Sep 16 03:33:14 2022 +0000

    upstream: sftp: Be a bit more clever about completions
    
    There are commands (e.g. "get" or "put") that accept two
    arguments, a local path and a remote path. However, the way
    current completion is written doesn't take this distinction into
    account and always completes remote or local paths.
    
    By expanding CMD struct and "cmds" array this distinction can be
    reflected and with small adjustment to completer code the correct
    path can be completed.
    
    By Michal Privoznik, ok dtucker@
    
    OpenBSD-Commit-ID: 1396d921c4eb1befd531f5c4a8ab47e7a74b610b

commit 590db83384f9d99fc51c84505792d26d1ef60df9
Author: djm at openbsd.org <djm at openbsd.org>
Date:   Fri Sep 16 03:13:34 2022 +0000

    upstream: sftp: Don't attempt to complete arguments for
    
    non-existent commands
    
    If user entered a non-existent command (e.g. because they made a
    typo) there is no point in trying to complete its arguments. Skip
    calling complete_match() if that's the case.
    
    From Michal Privoznik
    
    OpenBSD-Commit-ID: cf39c811a68cde2aeb98fc85addea4000ef6b07a

Summary of changes:
 sftp.c | 117 +++++++++++++++++++++++++++++++++++++++--------------------------
 1 file changed, 70 insertions(+), 47 deletions(-)

-- 
To stop receiving notification emails like this one, please contact
djm at mindrot.org.


More information about the openssh-commits mailing list