]> git.eshelyaron.com Git - emacs.git/commit
Allow vc-git-clone to check-out arbitrary revisions
authorPhilip Kaludercic <philipk@posteo.net>
Tue, 27 Feb 2024 09:32:08 +0000 (10:32 +0100)
committerEshel Yaron <me@eshelyaron.com>
Wed, 28 Feb 2024 17:53:31 +0000 (18:53 +0100)
commit2003f41029e0aae486c34e34dce3c8f3bf2771f4
treeaa32d634cd62ecb54e079c1e14f123a7dd581129
parent870fe1833202580024d0a099dfdaebe6a6175659
Allow vc-git-clone to check-out arbitrary revisions

* lisp/vc/vc-git.el (vc-git-clone): If "git clone --branch"
fails, then clone the repository regularly and checkout the
requested revision.

(cherry picked from commit b59d7094b6cb1a09f46f933807e9cd00a8bd1547)
lisp/vc/vc-git.el