jx2lee commented on code in PR #46181:
URL: https://github.com/apache/airflow/pull/46181#discussion_r1941041959


##########
airflow/dag_processing/bundles/git.py:
##########
@@ -127,8 +156,11 @@ def __init__(
             self.log.error("Error creating GitHook: %s", e)
 
     def _initialize(self):
-        self._clone_bare_repo_if_required()
-        self._ensure_version_in_bare_repo()
+        with self.hook.setup_inline_key() as tmp_keyfile:
+            self.hook.env = self.hook.set_git_env(tmp_keyfile)

Review Comment:
   I'm not sure fully applied your comments. Updated the code first, please 
review the new code and provide your comment again! (in new thread)



-- 
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