Commit 38a62efc authored by Yan Gajdos's avatar Yan Gajdos Committed by Lars Ingebrigtsen
Browse files

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
parent a98bf3e7
Pipeline #11526 failed with stages
in 49 seconds