]> git.eshelyaron.com Git - emacs.git/commit
Test more vc-dir scenarios with Git (bug#68183)
authorKévin Le Gouguec <kevin.legouguec@gmail.com>
Sun, 7 Jul 2024 10:16:12 +0000 (12:16 +0200)
committerEshel Yaron <me@eshelyaron.com>
Wed, 21 Aug 2024 09:55:11 +0000 (11:55 +0200)
commit3e6d65149f5efbc271e0d51cdd9a708da3a69be0
tree0fbc898da79bea26416cb97f1a8e85dedd049fbe
parentde30fee62d7c84adf9032be0c91911e7e5fc8d20
Test more vc-dir scenarios with Git (bug#68183)

* test/lisp/vc/vc-git-tests.el
(vc-git-test-dir-track-local-branch): Remove in favor of new
test.
(vc-git-test--start-branch): New helper to get a repository
going.
(vc-git-test--dir-headers): New helper to get a list of headers
in the current vc-dir buffer.
(vc-git-test-dir-branch-headers): New test, exercising the
original bug recipe plus more common scenarios.

(cherry picked from commit 2f710af5bf303b5d0ed7a7f70e058e1eab281b8d)
test/lisp/vc/vc-git-tests.el