Function: magit-rev-parse-true

magit-rev-parse-true is a byte-compiled function defined in magit-git.el.

Signature

(magit-rev-parse-true &rest ARGS)

Documentation

Execute "git rev-parse ARGS", returning t if it prints "true".

If it prints "false", then return nil. For any other output signal an error.

Source Code

;; Defined in ~/.emacs.d/elpa/magit-20260822.1158/magit-git.el
(defun magit-rev-parse-true (&rest args)
  "Execute \"git rev-parse ARGS\", returning t if it prints \"true\".
If it prints \"false\", then return nil.  For any other output
signal an error."
  (magit-git-true "rev-parse" args))