;; Copyright (C) 1985, 1992, 1994-1995, 1999-2014 Free Software
;; Foundation, Inc.
-;; Maintainer: FSF
+;; Maintainer: emacs-devel@gnu.org
;; Keywords: internal
;; Package: emacs
(with-temp-buffer
(let ((default-directory (file-name-as-directory dir)))
(and (eq 0
- (ignore-errors
- (call-process "git" nil '(t nil) nil "log"
- "-1" "--pretty=format:%N")))
+ (condition-case nil
+ (call-process "git" nil '(t nil) nil "log"
+ "-1" "--pretty=format:%N")
+ (error nil)))
(not (zerop (buffer-size)))
(replace-regexp-in-string "\n" "" (buffer-string))))))))