Function: forge-gitweb-repository
forge-gitweb-repository is a natively compiled function defined in
forge-semi.el.
Signature
(forge-gitweb-repository &rest SLOTS)
Documentation
Create a new object of class type forge-gitweb-repository(var)/forge-gitweb-repository(fun).
Source Code
;; Defined in /nix/store/923zwib42c4qw6x4xps0cv1wi8qcd6lp-emacs-packages-deps/share/emacs/site-lisp/elpa/forge-20261005.753/forge-semi.el
;;; Classes
(defclass forge-gitweb-repository (forge-noapi-repository)
((commit-url-format :initform "https://%h/gitweb/?p=%P.git;a=commitdiff;h=%r")
(branch-url-format :initform "https://%h/gitweb/?p=%P.git;a=log;h=refs/heads/%r")
(remote-url-format :initform "https://%h/gitweb/?p=%P.git;a=summary")
;; We must use "hb=BRANCH" because "h=refs/heads/BRANCH" does not work
;; here. So "%r" stands for either "hb=BRANCH" or "h=HASH" and which
;; it is, has to be handled as a special case in `forge-get-url(:blob)'.
(blob-url-format :initform "https://%h/gitweb/?p=%P.git;a=blob;f=%s;%r"))
"Gitweb from https://git-scm.com/docs/gitweb.")