"rsync for cloud storage" - Google Drive, S3, Dropbox, Backblaze B2, One Drive, Swift, Hubic, Wasabi, Google Cloud Storage, Azure Blob, Azure Files, Yandex Files
Go azure-blobazure-blob-storageazure-filesbackblaze-b2cloud-storagedropboxencryptionftpfuse-filesystemgogolanggoogle-cloud-storagegoogle-driveonedriveopenstack-swiftrclones3sftpsyncwebdav
build: fix check_autogenerated_edits.py flagging up files that didn't exist
Nick Craig-Wood51fd697c7adf
diff --git a/bin/check_autogenerated_edits.py b/bin/check_autogenerated_edits.pyindex 59ad0ff84..a195e67c0 100755--- a/bin/check_autogenerated_edits.py+++ b/bin/check_autogenerated_edits.py@@ -77,6 +77,10 @@ def check_file(file):viol = Falsenew_lines = get_file_content("HEAD", file)old_lines = get_file_content("HEAD~1", file)++ # If old file did not exist or was empty then don't check+ if not old_lines:+ return# Entire autogenerated file check.if any("autogenerated - DO NOT EDIT" in l for l in new_lines[:10]):