Commit 7169391d authored by Ulrich Müller's avatar Ulrich Müller Committed by Lars Magne Ingebrigtsen
Browse files

(emacs-repository-get-version): Call `git log' with proper format argument

Fixes: debbugs:19049

* version.el (emacs-repository-get-version): Call `git log'
command with proper format argument (bug#19049).
parent 3bdc6ce7
2014-11-13 Ulrich Müller <ulm@gentoo.org>
* version.el (emacs-repository-get-version): Call `git log'
command with proper format argument (bug#19049).
2014-11-14 Lars Magne Ingebrigtsen <larsi@gnus.org> 2014-11-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
   
* bindings.el (search-map): Bind M-s M-s to `eww-search-words'. * bindings.el (search-map): Bind M-s M-s to `eww-search-words'.
......
...@@ -188,7 +188,7 @@ only ask the VCS if we cannot find any information ourselves." ...@@ -188,7 +188,7 @@ only ask the VCS if we cannot find any information ourselves."
(and (eq 0 (and (eq 0
(condition-case nil (condition-case nil
(call-process "git" nil '(t nil) nil "log" (call-process "git" nil '(t nil) nil "log"
"-1" "--pretty=format:%N") "-1" "--pretty=format:%H")
(error nil))) (error nil)))
(not (zerop (buffer-size))) (not (zerop (buffer-size)))
(replace-regexp-in-string "\n" "" (buffer-string)))))))) (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