uranusjr commented on code in PR #57069:
URL: https://github.com/apache/airflow/pull/57069#discussion_r2465113226
##########
providers/git/src/airflow/providers/git/bundles/git.py:
##########
@@ -45,6 +45,12 @@ class GitDagBundle(BaseDagBundle):
:param subdir: Subdirectory within the repository where the DAGs are
stored (Optional)
:param git_conn_id: Connection ID for SSH/token based connection to the
repository (Optional)
:param repo_url: Explicit Git repository URL to override the connection's
host. (Optional)
+ :param prune_dotgit_folder: Remove .git folder from the versions after
cloning.
+
+ The per-version clone is not a full "git" copy (it makes use of git's
`--local` ability
+ to share the object directory via hard links, but if you have a lot of
current versions
+ running, or an especially large git repo setting this to True will
save some disk space
+ at the expense of `git` operations not working in the bundle that
Tasks run from.
Review Comment:
This section seems to describe the flag as an optional feature, but in
reality it is enabled by default. It should be rewritten to describe the
default behaviour, and explain when you might want to disable it instead.
--
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]