databricks workspace export_dir / export command with overwrite option enabled adds non-existent changes in the target directory. 1. It introduces new line deletion and 2. add/deletion of MAGIC comments despite not making any meaningful changes in the source (workspace) directory.
Steps to reproduce this issue:
- Clone a scala repository from Gitlab.
- Import to DB workspace from local filesystem
- Export from DB workspace to local filesystem with overwrite enabled.
- git diff