Файли
openidea/crates/ide-plugin/tests/fixtures/commit
Deng Liuтаdengliu 843f2024c5 feat(plugins): expose the Git repository owning a project path (#5727)
Plugin API 1.16 adds vcs.roots and vcs.repository-at. roots lists the mapped Git worktree roots within or enclosing the project; repository-at returns the innermost mapped worktree for an existing project file or directory (a nested worktree directory names that worktree) with the repository-relative path, branch, commit, upstream, ahead count and credential-stripped remotes, or none outside Git. Both require vcs.read; repository-at also requires a trusted project. Existing project-root VCS calls are unchanged.

Co-authored-by: dengliu <[email protected]>
2026-11-25 09:36:31 +08:00
..

Commit test fixture

Describe Changes (in the commit.message toolbar) reads the commit being prepared and writes a message listing its files; the markers before-commit check reports a message without a type: prefix and every DO NOT COMMIT added by the commit.

Used by cargo test -p ide-host --test plugin_commit to exercise the commit interface and the optional commit-checker export. It is not a marketplace plugin.