diff options
author | Ulrich Müller <ulm@gentoo.org> | 2014-11-14 05:03:32 +0100 |
---|---|---|
committer | Lars Magne Ingebrigtsen <larsi@gnus.org> | 2014-11-14 05:03:32 +0100 |
commit | 7169391ddb735892a8463aa96407e0448a3820a0 (patch) | |
tree | 088caf4972b44aca5d8a119160d35a1463094174 /lisp | |
parent | 3bdc6ce7e34705dc09a938d07296230436ea089c (diff) | |
download | emacs-7169391ddb735892a8463aa96407e0448a3820a0.tar.gz |
(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).
Diffstat (limited to 'lisp')
-rw-r--r-- | lisp/ChangeLog | 5 | ||||
-rw-r--r-- | lisp/version.el | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 8238dc5a36d..7674e78856c 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,8 @@ +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> * bindings.el (search-map): Bind M-s M-s to `eww-search-words'. diff --git a/lisp/version.el b/lisp/version.el index 68b502ce451..1ea38da9cae 100644 --- a/lisp/version.el +++ b/lisp/version.el @@ -188,7 +188,7 @@ only ask the VCS if we cannot find any information ourselves." (and (eq 0 (condition-case nil (call-process "git" nil '(t nil) nil "log" - "-1" "--pretty=format:%N") + "-1" "--pretty=format:%H") (error nil))) (not (zerop (buffer-size))) (replace-regexp-in-string "\n" "" (buffer-string)))))))) |