Function: forge-connect-database-once

forge-connect-database-once is a natively compiled function defined in forge-db.el.

Signature

(forge-connect-database-once)

Documentation

Try to connect Forge database on first use of magit-status only.

Source Code

;; Defined in /nix/store/923zwib42c4qw6x4xps0cv1wi8qcd6lp-emacs-packages-deps/share/emacs/site-lisp/elpa/forge-20261005.753/forge-db.el
(defun forge-connect-database-once ()
  "Try to connect Forge database on first use of `magit-status' only."
  (remove-hook 'magit-status-mode-hook #'forge-connect-database-once)
  (forge-db))