Skip to content

Prepare commit message hook fails when using reftable refstorage #3

Description

@killerkiara

https://github.com/code-supply/rusty-git-mob/blob/main/src/prepare_commit_message.rs#L29 needs to know the branch name.

The branch name is determined by a rust binding to libgit2 which does not support git refstorage = reftable.

So, if you have your git refstorage set to reftable, you will not see your co-author name in the commit message when running:

git mob xx
git commit -m 'poo'

(me and @craigfurman discovered this by chance starting from a branch with a capitalised name...)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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