You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
r = Repo.clone_from("[email protected]:bpiotr/whatever_repo.git", "/tmp/repo", env={"key": "value"})
r.git.environment()
{}
This is not what I expected when I called Repo.clone_from and documentation does not elaborate on the transient nature of the env here so IMHO this is a bug.
BTW it costed me quite a while to figure out that clone_from actually uses env but any subsequent operations on the result needs it to have it set again.
The text was updated successfully, but these errors were encountered:
This is not what I expected when I called
Repo.clone_from
and documentation does not elaborate on the transient nature of theenv
here so IMHO this is a bug.BTW it costed me quite a while to figure out that
clone_from
actually usesenv
but any subsequent operations on the result needs it to have it set again.The text was updated successfully, but these errors were encountered: