Skip to content

git executable used by aider does not seem to be the first in the path #4653

@mdeweerd

Description

@mdeweerd

Issue

I have a doubt about the consistency of the used git executable.

When I use /git --version or /git --ls-files I get the version and the list output I expect (path separators are '/').
But when aider uses git, I have issues with missing objects, etc sometimes and then I need to use '--no-git'. So that suggests it's a different git executable (or maybe something integrated in python).

There are also other reasons to think that it's not always the git in the path that is used (I can't remember them right now).

Version and model info

No response

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