]> git.eshelyaron.com Git - emacs.git/commit
Make vc-git-mode-line-string more robust
authorYan Gajdos <yan@gajdos.info>
Wed, 21 Jul 2021 21:56:44 +0000 (23:56 +0200)
committerLars Ingebrigtsen <larsi@gnus.org>
Wed, 21 Jul 2021 21:56:44 +0000 (23:56 +0200)
commit38a62efc15ddd849219ef1bdc98da933b5b1c33c
treee9a7dbf178eb89bd0dc216d732b5c0fe3fb25b72
parenta98bf3e7d713cb944c38ae6f784dc26d532b8e71
Make vc-git-mode-line-string more robust

* lisp/vc/vc-git.el (vc-git-mode-line-string): Make function more
robust (bug#49683).  It could previously error out under certain
conditions, like moving directories in and out of the
VC-controlled tree.

Copyright-paperwork-exempt: yes
lisp/vc/vc-git.el