Variable: forge-add-pullreq-refspec
forge-add-pullreq-refspec is a customizable variable defined in
forge-commands.el.
Value
t
Documentation
Whether the pull-request refspec is added when setting up a repository.
This controls whether running forge-pull for the first time in
a repository also adds a refspec that fetches all pull-requests.
In repositories with huge numbers of pull-requests you might want
to not do so, in which case you should set this option to ask.
You can also set this to nil and later add the refspec explicitly
for a repository using the command forge-add-pullreq-refspec(var)/forge-add-pullreq-refspec(fun).
This variable was added, or its default value changed, in forge version 0.2.0.
Key Bindings
Source Code
;; Defined in ~/.emacs.d/elpa/forge-20260408.1922/forge-commands.el
;;; Options
(defcustom forge-add-pullreq-refspec t
"Whether the pull-request refspec is added when setting up a repository.
This controls whether running `forge-pull' for the first time in
a repository also adds a refspec that fetches all pull-requests.
In repositories with huge numbers of pull-requests you might want
to not do so, in which case you should set this option to `ask'.
You can also set this to nil and later add the refspec explicitly
for a repository using the command `forge-add-pullreq-refspec'."
:package-version '(forge . "0.2.0")
:group 'forge
:type '(choice (const :tag "Always add refspec" t)
(const :tag "Ask every time" ask)
(const :tag "Never add refspec" nil)))