diff options
author | Dmitry Gutov <dgutov@yandex.ru> | 2013-05-28 03:11:21 +0400 |
---|---|---|
committer | Dmitry Gutov <dgutov@yandex.ru> | 2013-05-28 03:11:21 +0400 |
commit | f1a60a0f07666582843f324767f740b75c071fb9 (patch) | |
tree | 9f2a855a99ba9895ee7e6039ca6ecc52c659f56a /lisp/emacs-lisp | |
parent | d289938a057ab8572fc60eb5367980eeef35d600 (diff) | |
download | emacs-f1a60a0f07666582843f324767f740b75c071fb9.tar.gz emacs-f1a60a0f07666582843f324767f740b75c071fb9.tar.bz2 emacs-f1a60a0f07666582843f324767f740b75c071fb9.zip |
* lisp/vc/vc-git.el (vc-git-working-revision): When in detached mode,
return the commit hash. Also set the `vc-git-detached' property.
(vc-git--rev-parse): Extract from `vc-git-previous-revision'.
(vc-git-mode-line-string): Use the same help-echo format whether in
detached mode or not, because we know the actual revision now. When
in detached mode, shorten the revision to 7 chars.
Fixes: debbugs:14459
Diffstat (limited to 'lisp/emacs-lisp')
0 files changed, 0 insertions, 0 deletions