Add missing commit event reporting (#26990)

Cole Miller created

cc @morgankrey 

Release Notes:

- N/A

Change summary

crates/git_ui/src/git_panel.rs | 4 ++++
1 file changed, 4 insertions(+)

Detailed changes

crates/git_ui/src/git_panel.rs 🔗

@@ -2944,6 +2944,10 @@ impl GitPanel {
                                         .disabled(!can_commit || self.modal_open)
                                         .on_click({
                                             cx.listener(move |this, _: &ClickEvent, window, cx| {
+                                                telemetry::event!(
+                                                    "Git Committed",
+                                                    source = "Git Panel"
+                                                );
                                                 this.commit_changes(window, cx)
                                             })
                                         }),