Skip to content

Git AI support - Windows #2720

@martinsafsten-codescene

Description

System

Fork version: 2.16.1.0
OS: Windows 11

Description

Git AI uses hooks in a git extension to add metadata about AI generated code in git notes at commit. They have added Fork in their install script to update the git instance to use their git.exe shim as a custom git instance. Fork seems to see their changes as invalid, and resets the git instance to the default one at launch.

Setting the git instance manually in the Fork UI gives the following error:

Cannot find git instance at: 'C:\Users\marti\.git-ai\bin\git.exe'. Missing bash.exe

Copying bash.exe next to their shim fixes the error, but it seems like their extension is not firing properly when committing in the Fork UI, because the metadata is lost.

I have created a ticket on their repo aswell: git-ai-project/git-ai#606

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