Variable: magit-todos-branch-list-merge-base-ref
magit-todos-branch-list-merge-base-ref is a customizable variable
defined in magit-todos.el.
Value
nil
Documentation
Commit ref passed to command "git merge-base HEAD".
Determines the ancestor commit from which the current branch's todos should be searched for. May be overridden in the case that a branch is branched off another branch rather than master. For example, consider the following commit graph:
---A1---A2---A3 (master)
B1---B2---B3 (topic)
C1---C2---C3 (topic2, HEAD)
By default, the branch todo list would show todos from both the
"topic" branch and the "topic2" branch. To show only todos
from the "topic2" branch, this option could be set to
"topic".
Source Code
;; Defined in /nix/store/xy37aj9089qvbs5clw0qszpi3hrh3mxx-emacs-packages-deps/share/emacs/site-lisp/elpa/magit-todos-20250928.1611/magit-todos.el
(defcustom magit-todos-branch-list-merge-base-ref nil
"Commit ref passed to command \"git merge-base HEAD\".
Determines the ancestor commit from which the current branch's
todos should be searched for. May be overridden in the case that
a branch is branched off another branch rather than master. For
example, consider the following commit graph:
---A1---A2---A3 (master)
\
B1---B2---B3 (topic)
\
C1---C2---C3 (topic2, HEAD)
By default, the branch todo list would show todos from both the
\"topic\" branch and the \"topic2\" branch. To show only todos
from the \"topic2\" branch, this option could be set to
\"topic\"."
:type '(choice (const :tag "Automatic" :doc "Value returned by `magit-main-branch'" nil)
(string :tag "Specified branch name")))