summaryrefslogtreecommitdiff
path: root/lisp/vc/vc-git.el
diff options
context:
space:
mode:
authorStefan Kangas <stefankangas@gmail.com>2022-12-19 04:42:18 +0100
committerStefan Kangas <stefankangas@gmail.com>2022-12-19 04:42:18 +0100
commitd468cf91b9fbcd915644246f27dbaa87e23c7e7b (patch)
treec88c14f5372b67e3f02bcb16359b99256d9f2800 /lisp/vc/vc-git.el
parent9a633dce63904b54738a63eb5007869fd851419a (diff)
parentde2239a584ab9b3bcdea2379f2c54ea3d20d596f (diff)
downloademacs-d468cf91b9fbcd915644246f27dbaa87e23c7e7b.tar.gz
emacs-d468cf91b9fbcd915644246f27dbaa87e23c7e7b.tar.bz2
emacs-d468cf91b9fbcd915644246f27dbaa87e23c7e7b.zip
Merge from origin/emacs-29
de2239a584a Revert "alist-get testfn argument evaluation correction" 856d889f3a8 Revert "Elide broken but unnecessary `if` optimisations" 8e42e20ed7f Revert "Use equal and member instead of eq and memq"
Diffstat (limited to 'lisp/vc/vc-git.el')
-rw-r--r--lisp/vc/vc-git.el3
1 files changed, 1 insertions, 2 deletions
diff --git a/lisp/vc/vc-git.el b/lisp/vc/vc-git.el
index 9f27f759d35..2876a983fb0 100644
--- a/lisp/vc/vc-git.el
+++ b/lisp/vc/vc-git.el
@@ -1674,8 +1674,7 @@ This requires git 1.8.4 or later, for the \"-L\" option of \"git log\"."
(if branchp "branch" "tag"))))
(if branchp
(vc-git-command nil 0 nil "checkout" "-b" name
- (when (and start-point
- (not (equal start-point "")))
+ (when (and start-point (not (eq start-point "")))
start-point))
(vc-git-command nil 0 nil "tag" name)))))