mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-01-30 12:21:25 -08:00
Tweak earlier version.el change
This commit is contained in:
parent
80efa207d4
commit
a5f2a870bc
1 changed files with 4 additions and 3 deletions
|
|
@ -186,9 +186,10 @@ only ask the VCS if we cannot find any information ourselves."
|
|||
(with-temp-buffer
|
||||
(let ((default-directory (file-name-as-directory dir)))
|
||||
(and (eq 0
|
||||
(ignore-errors
|
||||
(call-process "git" nil '(t nil) nil "log"
|
||||
"-1" "--pretty=format:%N")))
|
||||
(condition-case nil
|
||||
(call-process "git" nil '(t nil) nil "log"
|
||||
"-1" "--pretty=format:%N")
|
||||
(error nil)))
|
||||
(not (zerop (buffer-size)))
|
||||
(replace-regexp-in-string "\n" "" (buffer-string))))))))
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue