mirror of
https://github.com/kovidgoyal/kitty
synced 2026-07-10 14:14:48 +02:00
Get the multi file tests working for the receive kitten
This commit is contained in:
@@ -391,8 +391,8 @@ func (self *manager) request_files() transmit_iterator {
|
||||
if f == nil {
|
||||
return 0, files_done
|
||||
}
|
||||
read_signature := self.use_rsync
|
||||
if read_signature && f.ftype == FileType_regular {
|
||||
read_signature := self.use_rsync && f.ftype == FileType_regular
|
||||
if read_signature {
|
||||
if s, err := os.Lstat(f.expanded_local_path); err == nil {
|
||||
read_signature = s.Size() > 4096
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user