ashb commented on code in PR #57069:
URL: https://github.com/apache/airflow/pull/57069#discussion_r2452421246
##########
providers/git/src/airflow/providers/git/bundles/git.py:
##########
@@ -45,6 +45,7 @@ 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 remove_git_repo_on_versions: Remove .git folder from the versions
after cloning
Review Comment:
```suggestion
:param remove_git_repo_on_versions: Remove .git folder from the versions
after cloning.
The per-version clone is not a full "git" copy (it makes uses of
git's `--local` ability
to share the object directory via hardlinks, but if you have a lot
of current versions
running, or an especially large git repo setting this to False will
save some disk space
at the expense of `git` operations not working in the bundle that
Tasks run from.
```
--
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]