Skip to content

cargo new does not create git repository under existing repo (such as git $HOME), even with --vcs git #1210

@joshtriplett

Description

@joshtriplett

cargo new silently skips creating a git repository for a path under an existing repository, which includes a git $HOME directory.

At a minimum, --vcs git (or configuration-file equivalent) should override that. There also should be some way to systematically ignore git repositories above a certain point, to always ignore a git home directory. Perhaps that point could default to $HOME.

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