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 15:21:31 +0100 |
commit | df33e85a807656a13b3020d8f65d5da728bb808e (patch) | |
tree | 9af170db49db58f95b847c355c7e0e80d197aeef /lisp/version.el | |
parent | 6a079d59b7f5e9ef2a2dc7af18debc1c714ede89 (diff) | |
download | emacs-df33e85a807656a13b3020d8f65d5da728bb808e.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/version.el')
-rw-r--r-- | lisp/version.el | 2 |
1 files changed, 1 insertions, 1 deletions
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)))))))) |