diff options
| author | Glenn Morris | 2014-01-22 16:14:34 -0500 |
|---|---|---|
| committer | Glenn Morris | 2014-01-22 16:14:34 -0500 |
| commit | a5f2a870bc0b4eec8904c9280f89ffa66b6b41bc (patch) | |
| tree | 396715fa563e8fe724230bbfb62245d9c67ca3c1 | |
| parent | 80efa207d4026b98967c96a84ade29940f48403b (diff) | |
| download | emacs-a5f2a870bc0b4eec8904c9280f89ffa66b6b41bc.tar.gz emacs-a5f2a870bc0b4eec8904c9280f89ffa66b6b41bc.zip | |
Tweak earlier version.el change
| -rw-r--r-- | lisp/version.el | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/lisp/version.el b/lisp/version.el index 4f5bb67585a..25b7f3e3c53 100644 --- a/lisp/version.el +++ b/lisp/version.el | |||
| @@ -186,9 +186,10 @@ only ask the VCS if we cannot find any information ourselves." | |||
| 186 | (with-temp-buffer | 186 | (with-temp-buffer |
| 187 | (let ((default-directory (file-name-as-directory dir))) | 187 | (let ((default-directory (file-name-as-directory dir))) |
| 188 | (and (eq 0 | 188 | (and (eq 0 |
| 189 | (ignore-errors | 189 | (condition-case nil |
| 190 | (call-process "git" nil '(t nil) nil "log" | 190 | (call-process "git" nil '(t nil) nil "log" |
| 191 | "-1" "--pretty=format:%N"))) | 191 | "-1" "--pretty=format:%N") |
| 192 | (error nil))) | ||
| 192 | (not (zerop (buffer-size))) | 193 | (not (zerop (buffer-size))) |
| 193 | (replace-regexp-in-string "\n" "" (buffer-string)))))))) | 194 | (replace-regexp-in-string "\n" "" (buffer-string)))))))) |
| 194 | 195 | ||