diff options
author | Kévin Le Gouguec <kevin.legouguec@gmail.com> | 2024-02-12 08:29:19 +0100 |
---|---|---|
committer | Kévin Le Gouguec <kevin.legouguec@gmail.com> | 2024-03-17 22:37:28 +0100 |
commit | 8d4a8b7dfd0905defac172cc58c2252dc1b39ad7 (patch) | |
tree | 57bb9cc6cdfae228b9768a6f04351533204229b8 /lisp/emacs-lisp/cursor-sensor.el | |
parent | c29b6df2273347946d5b8c88b5dee39d8d6fd202 (diff) | |
download | emacs-8d4a8b7dfd0905defac172cc58c2252dc1b39ad7.tar.gz emacs-8d4a8b7dfd0905defac172cc58c2252dc1b39ad7.tar.bz2 emacs-8d4a8b7dfd0905defac172cc58c2252dc1b39ad7.zip |
; Re-apply accidentally reverted commit
This re-applies:
2024-03-17 "Fix vc-dir when "remote" Git branch is local"
(21828f288ef)
reverted as part of the unrelated:
2024-03-17 "Update modus-themes to their 4.4.0 version"
(67b0c1c09ea)
The original commit message follows:
Fix vc-dir when "remote" Git branch is local
While in there, add that "tracking" branch to the vc-dir
buffer. For bug#68183.
* lisp/vc/vc-git.el (vc-git-dir-extra-headers): Reduce
boilerplate with new function 'vc-git--out-ok'; stop calling
vc-git-repository-url when REMOTE is "." to avoid throwing an
error; display tracking branch; prefer "none (<details...>)" to
"not (<details...>)" since that reads more grammatically
correct.
(vc-git--out-ok): Add documentation.
(vc-git--out-str): New function to easily get the output from a
Git command.
* test/lisp/vc/vc-git-tests.el (vc-git-test--with-repo)
(vc-git-test--run): New helpers, defined to steer clear of
vc-git-- internal functions.
(vc-git-test-dir-track-local-branch): Check that vc-dir does
not crash.
Diffstat (limited to 'lisp/emacs-lisp/cursor-sensor.el')
0 files changed, 0 insertions, 0 deletions