Fix emacs-repository-get-version with packed .git
commita76420cce2d1c2e1d5de0cdf50443006064c58af
authorPaul Eggert <eggert@cs.ucla.edu>
Wed, 1 Jun 2016 17:28:43 +0000 (1 10:28 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Wed, 1 Jun 2016 18:03:37 +0000 (1 11:03 -0700)
tree822eca9887e70ed8fce2e1bb2bcb32d5a7a16797
parent5668058053d100f5c1053ab504ec01aa0017806b
Fix emacs-repository-get-version with packed .git

* lisp/version.el (emacs-repository-get-version):
Parse .git/packed-refs if it exists.
Problem reported by Martin Rudalics in:
http://lists.gnu.org/archive/html/emacs-devel/2016-05/msg00554.html
lisp/version.el