]> git.eshelyaron.com Git - emacs.git/commit
Test vc-git-dir-extra-headers directly (bug#76187)
authorKévin Le Gouguec <kevin.legouguec@gmail.com>
Thu, 13 Feb 2025 22:52:06 +0000 (23:52 +0100)
committerEshel Yaron <me@eshelyaron.com>
Tue, 18 Feb 2025 08:54:04 +0000 (09:54 +0100)
commit831a905a03f382412534e052a75328c7c616ae02
tree2a749cd3f2e1ec2e370e0454d7b0fb37e8eaa4b5
parentc3d8d999f889c49a7b025513eb1b57533554a3da
Test vc-git-dir-extra-headers directly (bug#76187)

* test/lisp/vc/vc-git-tests.el (vc-git-test--run): Make sure to
log output from failing Git commands.
(vc-git-test--dir-headers): Stop bothering with vc-dir
internals and just invoke the branch-munging and
header-formatting code we mean to test.
(vc-git-test-dir-branch-headers): Stop invoking vc-dir; just set
default-directory to be able to pass it to the backend function.

(cherry picked from commit 15d2fc6498db433131bd4364aae1d508a12bd925)
test/lisp/vc/vc-git-tests.el