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

Appearance settings

Can't pass multiple config values to clone or clone_from #824

Copy link
Copy link
Open
@ninloot

Description

@ninloot
Issue body actions

The clone command in git supports a --config parameter that can be repeated several times on the command line to set multiple config parameters. There is no why to call clone or clone_from with multiple config parameters. What I would like to do is:
Repo.clone_from(url, dir, config='submodule.repo1.update=none', config='submodule.repo2.update=checkout')
This can't be done because there are multiple keywords repeatedly passed to clone. You can't construct a dictionary for the same reason. One solution would be to allow for any string to be passed to to the underlying git process.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.