Function: magit-commit-children

magit-commit-children is a byte-compiled function defined in magit-git.el.

Signature

(magit-commit-children REV &optional ARGS)

Source Code

;; Defined in ~/.emacs.d/elpa/magit-20260411.1452/magit-git.el
(defun magit-commit-children (rev &optional args)
  (seq-keep (lambda (line)
              (pcase-let ((`(,child . ,parents) (split-string line " ")))
                (and (member rev parents) child)))
            (magit-git-lines "log" "--format=%H %P"
                             (or args (list "--branches" "--tags" "--remotes"))
                             "--not" rev)))