potiuk edited a comment on pull request #21145: URL: https://github.com/apache/airflow/pull/21145#issuecomment-1039144587
> @potiuk I am not very clear about this part of the code too. How does this command helps to find the deleted files. You can do it in python by simply checking if the file exists before attempting to run chmod on it. This one is "bash-y" way of handling the case that you had a file in git, but you just deleted it in your commit. In this case it will be present in the `git ls-files` output, but it will not be physically there so running "chmod" will fail :). -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@airflow.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org