ZIm/crates/git_ui/src
Max Brunsfeld 74a39c7263
Make FakeGitRepository behave more like a real git repository (#26961)
This PR reworks the `FakeGitRepository` type that we use for testing git
interactions, to make it more realistic. In particular, the `status`
method now derives the Git status from the differences between HEAD, the
index, and the working copy. This way, if you modify a file in the
`FakeFs`, the Git repository's `status` method will reflect that
modification.

Release Notes:

- N/A

---------

Co-authored-by: Junkui Zhang <364772080@qq.com>
2025-03-19 16:04:27 +00:00
..
askpass_modal.rs gpui: Rename rounded_md to rounded_sm (#26228) 2025-03-06 17:57:31 +00:00
branch_picker.rs Move "async move" a few characters to the left in cx.spawn() (#26758) 2025-03-19 02:09:02 +00:00
commit_message_prompt.txt git_ui: Try to prompt the model out of including the diff output (#26281) 2025-03-07 15:05:35 +00:00
commit_modal.rs Fold git merge messages into commit editor placeholder text (#26992) 2025-03-18 17:21:20 +00:00
git_panel.rs Make FakeGitRepository behave more like a real git repository (#26961) 2025-03-19 16:04:27 +00:00
git_panel_settings.rs Add git init button (#26522) 2025-03-12 07:25:19 +00:00
git_ui.rs debugger: First slight pass at UI (#27034) 2025-03-19 00:15:48 +00:00
onboarding.rs Move "async move" a few characters to the left in cx.spawn() (#26758) 2025-03-19 02:09:02 +00:00
picker_prompt.rs Move "async move" a few characters to the left in cx.spawn() (#26758) 2025-03-19 02:09:02 +00:00
project_diff.rs Make FakeGitRepository behave more like a real git repository (#26961) 2025-03-19 16:04:27 +00:00
remote_output.rs Fix message on push (#26588) 2025-03-12 20:18:28 +00:00
repository_selector.rs Move "async move" a few characters to the left in cx.spawn() (#26758) 2025-03-19 02:09:02 +00:00