https://bugs.kde.org/show_bug.cgi?id=374478
            Bug ID: 374478
           Summary: Kate project plugin ignores git worktrees
           Product: kate
           Version: unspecified
          Platform: Other
                OS: Linux
            Status: UNCONFIRMED
          Severity: minor
          Priority: NOR
         Component: general
          Assignee: kwrite-bugs-n...@kde.org
          Reporter: dennis.lis...@gmail.com
  Target Milestone: ---

Kate project plugin detects a Git-based project by checking whether `.git`
exists and is a directory.

However, if the git checkout is a separate worktree attached to an external
repository[0], `.git` is actually a file with contents like
```
gitdir: /home/username/path/to/.git/worktrees/worktree-name
```
and thus the directory is not detected as a git-based project. Would be very
nice if it did work with git worktrees.


[0]: https://git-scm.com/docs/git-worktree

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to