Skip to content

Prepare commit message hook fails when using reftable refstorage #3

@killerkiara

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...)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions