Add event to track LLM-generated commit messages (#26245)
Release Notes: - N/A
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user