Skip to content

git : use relative patsh in stead of absolute paths #3808

Open
@mdeweerd

Description

@mdeweerd

Issue

I use 'aider' from a cygwin bash prompt.
Aider was installed using a windows installation of python.

As aider submits absolute paths to git, these paths are considered not part of the git repository because D:/path/to/... is considered different from /cygdrive/d/path/to/....
I think this can be solved by using relative paths rather than absolute paths. (git does cope with the '` directory separators).

I've tried setting the path to windows's git but then for some reason, aider does not detect the git repository. It detects the git repository when it uses Cygwin's git.

Version and model info

aider 0.81.3

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