Add event to track LLM-generated commit messages (#26245)
Release Notes: - N/A
This commit is contained in:
parent
829ecda370
commit
263d9ff755
1 changed files with 2 additions and 0 deletions
|
@ -1419,6 +1419,8 @@ impl GitPanel {
|
||||||
return;
|
return;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
telemetry::event!("Git Commit Message Generated");
|
||||||
|
|
||||||
let diff = repo.update(cx, |repo, cx| {
|
let diff = repo.update(cx, |repo, cx| {
|
||||||
if self.has_staged_changes() {
|
if self.has_staged_changes() {
|
||||||
repo.diff(DiffType::HeadToIndex, cx)
|
repo.diff(DiffType::HeadToIndex, cx)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue