Skip to content

github-merge: context not isolated #49

Open
@real-or-random

Description

@real-or-random

One potential pitfall of github-merge is that works in your normal worktree. That is, you can switch branches, change things, etc, between two git commands issued by the script, in particular when it waits for user input. For example, if you switch to a different branch and then type s, you sign the wrong commit. (I haven't tested it but this is what I assume from reading the code.)

Could git worktrees help here?
https://git-scm.com/docs/git-worktree

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions