]> git.eshelyaron.com Git - emacs.git/commit
Avoid delving into Git internals for version
authorPaul Eggert <eggert@cs.ucla.edu>
Wed, 1 Jun 2016 20:25:09 +0000 (13:25 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Wed, 1 Jun 2016 20:26:30 +0000 (13:26 -0700)
commit1e5539e0b35d2a7fcd1f1772c4532430cb18471b
treec4c11c574537659dacff45cc858eb6edba822451
parent4428f5a97b942652e6894f22c4c251457a1edc8b
Avoid delving into Git internals for version

* lisp/loadup.el (exec-path): Set it to nil later, so that
emacs-repository-get-version can invoke git commands in the PATH.
* lisp/version.el (emacs-repository--version-git-1): Remove.
(emacs-repository-get-version): Let Git do it rather than
delving into Git internals.
lisp/loadup.el
lisp/version.el