potiuk commented on code in PR #58231:
URL: https://github.com/apache/airflow/pull/58231#discussion_r2523374819


##########
task-sdk-integration-tests/logs/.gitignore:
##########
@@ -0,0 +1,2 @@
+# ignore all files generated in logs directory

Review Comment:
   Yeah. That is the trick I've learned to commit "practically empty" 
directories. You cannot commit directories to `git` (there is no such concept) 
- you only commit files, so in order to commit an empty directory you need to 
add **some** file to it and commit it.
   
   In this case we only care about the directory, but we want to ignore all 
logs created during tests - so .gitignore with * (and comment explaining what 
we are doing) is **the best** way of adding such directory.



-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to