Function: magit-git-string-p

magit-git-string-p is a function alias for magit-git-string, defined in magit-git.el.

This function is obsolete since Magit 4.6.0; use magit-git-string instead.

Signature

(magit-git-string-p &rest ARGS)

Documentation

Execute Git with ARGS, returning the first line of its output (stdout).

If the exit code isn't zero or if there is no output, then return nil. Neither of these results is considered an error; if that is what you want, then use magit-git-string-ng instead.

Aliases

magit-git-string-p (obsolete since Magit 4.6.0)