Skip to content

Git should use --git-dir and --work-tree not changing directory #1577

@ndmitchell

Description

@ndmitchell

If the git process used gitdir/worktree arguments instead of changing process directory it would be easier to debug unexpected failures because you could copy/paste the command lines anywhere. See http://stackoverflow.com/questions/1386291/git-git-dir-not-working-as-expected for advice on how to use it.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions