Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
ce29ae32
Commit
ce29ae32
authored
Mar 18, 2024
by
Eli Zaretskii
Browse files
; * lisp/vc/vc-git.el (vc-git--out-str): Doc fix.
parent
70ac815e
Pipeline
#28547
failed with stages
in 115 minutes and 28 seconds
Changes
2
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
lisp/emacs-lisp/shortdoc.el
lisp/emacs-lisp/shortdoc.el
+1
-1
lisp/vc/vc-git.el
lisp/vc/vc-git.el
+1
-1
No files found.
lisp/emacs-lisp/shortdoc.el
View file @
ce29ae32
...
...
@@ -1781,7 +1781,7 @@ With prefix numeric argument ARG, do it that many times."
(interactive)
(save-excursion
(goto-char (pos-bol))
(when-let* ((re (rx bol "
(
" (group (+ (not (in "
"
))
))))
(when-let* ((re (rx bol "
(
" (group (+ (not (in "
)
"
)
)))))
(
string
(
and
(
or
(
looking-at
re
)
(
re-search-backward
re
nil
t
))
...
...
lisp/vc/vc-git.el
View file @
ce29ae32
...
...
@@ -2240,7 +2240,7 @@ Return whether the process exited with status zero."
(zerop (apply #'vc-git--call '(t nil) command args)))
(defun vc-git--out-str (command &rest args)
"
Run
`
git
COMMAND
ARGS...
'
and
return
standard
output.
"
Run
`
git
COMMAND
ARGS...
'
and
return
standard
output
as
a
string
.
The
exit
status
is
ignored.
"
(with-output-to-string
(with-current-buffer standard-output
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment