Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Environment values passed to Repo.clone_from() are not kept in the resulting repo #676

Closed
@bpiotr

Description

@bpiotr
r = Repo.clone_from("git@github.com:bpiotr/whatever_repo.git", "/tmp/repo", env={"key": "value"})r.git.environment(){}

This is not what I expected when I calledRepo.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 thatclone_from actually usesenv but any subsequent operations on the result needs it to have it set again.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


      [8]ページ先頭

      ©2009-2025 Movatter.jp