Thanks to visit codestin.com
Credit goes to github.com

Skip to content

error: unsupported extension name extensions.relativeworktree #7099

Open
@bricewge

Description

@bricewge

Hello,

While testing a PR for guix git authenticate which uses libgit2 through guile-git, I had the following error:

$ ../create-git-hooks-dir/pre-inst-env guix git authenticate 9edb3f66fd807b096b48283debdcddccfea34bad   "BBB0 2DDF 2CEA F6A8 0D1D  E643 A2A0 6DF2 A33A 54FA"
guix git: error: Git error: unsupported extension name extensions.relativeworktree

It looks to me that this error is generated by libgit2 because the extension relativeworktree isn't supported.

To reproduce the issue, just create a worktree with the --relative-paths option. That will activate the extension relativeWorktrees:

Automatically set [relativeWorktrees] if a worktree has been created or repaired with either the --relative-paths option or with the worktree.useRelativePaths config set to true.

Could libgit2 support that useful extension recently added in git 2.48.0?

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