Function: projectile--jj
projectile--jj is a byte-compiled function defined in projectile.el.
Signature
(projectile--jj ROOT &rest ARGS)
Documentation
Run jj with ARGS in ROOT and return its output, or nil when it fails.
--no-pager because a pager would hang a batch invocation,
--ignore-working-copy so that merely listing workspaces doesn't snapshot
the working copy behind the user's back, and --color=never because jj
colorizes template output too and a user with ui.color = "always" would
otherwise get paths wrapped in escape sequences.
Source Code
;; Defined in ~/.emacs.d/elpa/projectile-20260820.1509/projectile.el
(defun projectile--jj (root &rest args)
"Run jj with ARGS in ROOT and return its output, or nil when it fails.
`--no-pager' because a pager would hang a batch invocation,
`--ignore-working-copy' so that merely listing workspaces doesn\\='t snapshot
the working copy behind the user\\='s back, and `--color=never' because jj
colorizes template output too and a user with `ui.color = \"always\"' would
otherwise get paths wrapped in escape sequences."
(let ((default-directory root))
(with-temp-buffer
(when (eql 0 (ignore-errors
(apply #'process-file "jj" nil '(t nil) nil
"--no-pager" "--color=never"
"--ignore-working-copy" args)))
(buffer-string)))))