mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-02-13 11:12:19 -08:00
Make vc-git-tests work with git < 2.46
* test/lisp/vc/vc-git-tests.el (vc-git-test-branch-remotes): The 'unset' subcommand to 'git config' was introduced in git 2.46; use the '--unset' option instead.
This commit is contained in:
parent
083f89f858
commit
6dc2336a4f
1 changed files with 1 additions and 1 deletions
|
|
@ -217,7 +217,7 @@ is absent."
|
|||
(should (assq 'upstream alist))
|
||||
(should (equal (cdr (assq 'push alist))
|
||||
(concat "fork/" main-branch))))
|
||||
(vc-git--out-ok "config" "unset"
|
||||
(vc-git--out-ok "config" "--unset"
|
||||
(format "branch.%s.pushRemote" main-branch))
|
||||
(vc-git--out-ok "config" "remote.pushDefault" "fork")
|
||||
(let ((alist (vc-git--branch-remotes)))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue