ZIm/crates/git/src
Kirill Bulatov 868e3f75b2
Rework shared commit editors (#24274)
Rework of https://github.com/zed-industries/zed/pull/24130
Uses
1033c0b57e
`COMMIT_EDITMSG` language-related definitions (thanks @d1y )

Instead of using real `.git/COMMIT_EDITMSG` file, create a buffer
without FS representation, stored in the `Repository` and shared the
regular way via the `BufferStore`.
Adds a knowledge of what `Git Commit` language is, and uses it in the
buffers which are rendered in the git panel.


Release Notes:

- N/A

---------

Co-authored-by: Conrad Irwin <conrad@zed.dev>
Co-authored-by: d1y <chenhonzhou@gmail.com>
Co-authored-by: Smit <smit@zed.dev>
2025-02-05 15:36:24 +00:00
..
blame.rs windows: Fix tests on Windows (#22616) 2025-02-05 14:30:09 +00:00
commit.rs windows: Set CREATE_NO_WINDOW for commands (#18447) 2024-11-20 16:52:38 -08:00
diff.rs git: Compute and synchronize diffs from HEAD (#23626) 2025-02-04 15:29:10 -05:00
git.rs editor: Push em width calculations down into EditorSnapshot::gutter_dimensions (#24062) 2025-02-01 00:10:42 +00:00
hosting_provider.rs Eliminate GPUI View, ViewContext, and WindowContext types (#22632) 2025-01-26 03:02:45 +00:00
remote.rs Detect wider variety of usernames for SSH-based remotes (#21508) 2024-12-05 15:23:37 -08:00
repository.rs Rework shared commit editors (#24274) 2025-02-05 15:36:24 +00:00
status.rs Git Panel: separate new and changed (#24181) 2025-02-04 09:15:09 +00:00