ZIm/crates/git_ui/src
João Marcos a2876f5d3e
Support hunk-wise StageAndNext and UnstageAndNext (#25845)
This PR adds the `whole_excerpt` field to the actions:

- `git::StageAndNext`
- `git::UnstageAndNext`

Which is set by false by default, effectively, now staging and unstaging
with these actions is done hunk-by-hunk, this also affects the `Stage`
and
`Unstage` buttons in the Diff View toolbar.

A caveat: with this PR, there is no way to configure the buttons in the
Diff
View toolbar to restore the previous behavior, if we want, I think we
can make
it a setting, but let's see if anyone really wants that.

Release Notes:

- N/A
2025-03-01 02:39:08 +00:00
..
branch_picker.rs Move PopoverButton into ui (#25724) 2025-02-27 02:51:19 +00:00
commit_modal.rs git_ui: New panel design (#25821) 2025-02-28 20:00:39 +00:00
git_panel.rs Fix new git panel buttons (#25844) 2025-02-28 21:19:20 -05:00
git_panel_settings.rs Eliminate GPUI View, ViewContext, and WindowContext types (#22632) 2025-01-26 03:02:45 +00:00
git_ui.rs Git push/pull/fetch (#25445) 2025-02-24 18:29:52 +00:00
picker_prompt.rs Git push/pull/fetch (#25445) 2025-02-24 18:29:52 +00:00
project_diff.rs Support hunk-wise StageAndNext and UnstageAndNext (#25845) 2025-03-01 02:39:08 +00:00
repository_selector.rs Follow-up tweaks to new git panel footer (#25832) 2025-02-28 19:05:43 -05:00