This PR adds a button in the `git: branch diff` view that allows to quickly and easily send the entire diff to your last used agent for a review. What this does is automatically submits a (pre-written and generic) prompt to the last agents you were using in the agent panel with the whole content of your diff. <img width="750" height="1964" alt="Screenshot 2026-02-18 at 3 35@2x" src="https://github.com/user-attachments/assets/493d8cf4-4815-4b01-91a0-6a39ad6219fe" /> Release Notes: - Added a "Review Branch" button in the `git: branch diff` view so that the whole diff can be quickly sent for review to an agent. --------- Co-authored-by: Bennet Bo Fenner <bennetbo@gmx.de>
91 lines
2.3 KiB
TOML
91 lines
2.3 KiB
TOML
[package]
|
|
name = "git_ui"
|
|
version = "0.1.0"
|
|
edition.workspace = true
|
|
publish.workspace = true
|
|
license = "GPL-3.0-or-later"
|
|
|
|
[lints]
|
|
workspace = true
|
|
|
|
[lib]
|
|
name = "git_ui"
|
|
path = "src/git_ui.rs"
|
|
|
|
[features]
|
|
test-support = ["multi_buffer/test-support", "remote_connection/test-support"]
|
|
|
|
[dependencies]
|
|
acp_thread.workspace = true
|
|
agent-client-protocol.workspace = true
|
|
agent_settings.workspace = true
|
|
agent_ui.workspace = true
|
|
anyhow.workspace = true
|
|
askpass.workspace = true
|
|
buffer_diff.workspace = true
|
|
call.workspace = true
|
|
cloud_llm_client.workspace = true
|
|
collections.workspace = true
|
|
component.workspace = true
|
|
db.workspace = true
|
|
editor.workspace = true
|
|
futures.workspace = true
|
|
fuzzy.workspace = true
|
|
git.workspace = true
|
|
gpui.workspace = true
|
|
itertools.workspace = true
|
|
language.workspace = true
|
|
language_model.workspace = true
|
|
linkify.workspace = true
|
|
log.workspace = true
|
|
markdown.workspace = true
|
|
menu.workspace = true
|
|
multi_buffer.workspace = true
|
|
notifications.workspace = true
|
|
panel.workspace = true
|
|
picker.workspace = true
|
|
project.workspace = true
|
|
prompt_store.workspace = true
|
|
remote_connection.workspace = true
|
|
remote.workspace = true
|
|
schemars.workspace = true
|
|
serde.workspace = true
|
|
serde_json.workspace = true
|
|
settings.workspace = true
|
|
smallvec.workspace = true
|
|
smol.workspace = true
|
|
strum.workspace = true
|
|
telemetry.workspace = true
|
|
theme.workspace = true
|
|
time.workspace = true
|
|
time_format.workspace = true
|
|
ui.workspace = true
|
|
ui_input.workspace = true
|
|
util.workspace = true
|
|
watch.workspace = true
|
|
workspace.workspace = true
|
|
zed_actions.workspace = true
|
|
zeroize.workspace = true
|
|
ztracing.workspace = true
|
|
tracing.workspace = true
|
|
[target.'cfg(windows)'.dependencies]
|
|
windows.workspace = true
|
|
|
|
[dev-dependencies]
|
|
ctor.workspace = true
|
|
editor = { workspace = true, features = ["test-support"] }
|
|
git_hosting_providers.workspace = true
|
|
gpui = { workspace = true, features = ["test-support"] }
|
|
indoc.workspace = true
|
|
pretty_assertions.workspace = true
|
|
project = { workspace = true, features = ["test-support"] }
|
|
rand.workspace = true
|
|
settings = { workspace = true, features = ["test-support"] }
|
|
unindent.workspace = true
|
|
workspace = { workspace = true, features = ["test-support"] }
|
|
zlog.workspace = true
|
|
remote_connection = { workspace = true, features = ["test-support"] }
|
|
|
|
[package.metadata.cargo-machete]
|
|
ignored = ["tracing"]
|