Function: magit-rev-parse-true

magit-rev-parse-true is a natively 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 /nix/store/irvbdy0zra0dn8fpd008f32x5ix6qm5v-emacs-packages-deps/share/emacs/site-lisp/elpa/magit-20261005.508/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))