Skip to content

armgit / zed

Public Imported from GitHub
0

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.

Add event to track LLM-generated commit messages (#26245)

Joseph T. Lyons263d9ff7555a
diff --git a/crates/git_ui/src/git_panel.rs b/crates/git_ui/src/git_panel.rs
index 20b32a5e692..2e3f73949e8 100644
--- a/crates/git_ui/src/git_panel.rs
+++ b/crates/git_ui/src/git_panel.rs
@@ -1419,6 +1419,8 @@ impl GitPanel {
return;
};
+ telemetry::event!("Git Commit Message Generated");
+
let diff = repo.update(cx, |repo, cx| {
if self.has_staged_changes() {
repo.diff(DiffType::HeadToIndex, cx)