Skip to content

Git blame fails when using git-repo for code management #20008

Closed as not planned
@zkun90

Description

@zkun90

Check for existing issues

  • Completed

Describe the bug / provide steps to reproduce it

I use git-repo to manage multiple git repositories, the .git in the source code is a soft link to the .repo/projects/xxx.git, Zed cannot handle this situation when I use git blame, it will show the error message "Failed to blame "xxx.cpp": git blame process failed: fatal: not a git repository (or any for the parent direcotries): .git".
2024-10-31 16 32 49

Environment

Zed: v0.159.5
OS: macOS 14.5
Memory: 18 GiB
Architecture: aarch64

If applicable, add mockups / screenshots to help explain present your vision of the feature

No response

If applicable, attach your Zed.log file to this issue.

Zed.log

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug[core label]gitGit integration feedbackstaleLabel used by `stale` action

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions