Commit a5f2a870 authored by Glenn Morris's avatar Glenn Morris
Browse files

Tweak earlier version.el change

parent 80efa207
......@@ -186,9 +186,10 @@ only ask the VCS if we cannot find any information ourselves."
(let ((default-directory (file-name-as-directory dir)))
(and (eq 0
(condition-case nil
(call-process "git" nil '(t nil) nil "log"
"-1" "--pretty=format:%N")))
"-1" "--pretty=format:%N")
(error nil)))
(not (zerop (buffer-size)))
(replace-regexp-in-string "\n" "" (buffer-string))))))))
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment