Closed licht1stein closed 11 months ago
By default, orders inherit :depth 1
via elpaca-order-defaults
.
You can confirm that by checking the "recipe" section of M-x elpaca-info cider
.
Adding :depth nil
to the recipe should allow the tagged commit to be reached.
See the test case below:
elpaca | 039ae35 HEAD -> master, origin/master, origin/HEAD |
isntaller | 0.6 |
emacs | GNU Emacs 30.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.38, cairo version 1.18.0) of 2023-11-02 |
git | git version 2.42.0 |
Apparently, git clone can accept tags with the --branch
option. I'll see if I can add support for that so a shallow clone can still be used.
Does that help?
I've added support for shallow cloning to a tag. Your original recipe should work once you update Elpaca:
M-x elpaca-update
elpaca
M-x restart-emacs
See the test case below:
elpaca | 5d4e0ca HEAD -> master, origin/master, origin/HEAD |
isntaller | 0.6 |
emacs | GNU Emacs 30.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.38, cairo version 1.18.0) of 2023-11-02 |
git | git version 2.42.0 |
Works like a charm, thank you!
Elpaca Version
Elpaca b1a2c30 HEAD -> master, origin/master, origin/HEAD installer: 0.6 emacs-version: GNU Emacs 29.1 (build 1, aarch64-apple-darwin21.6.0, NS appkit-2113.60 Version 12.6.3 (Build 21G419)) of 2023-09-13 git --version: git version 2.39.2 (Apple Git-143)
Operating System
Mac OS 13.5.2
Description
When trying to install a specific version of cider with the following recipe:
I'm getting the following error:
error: pathspec 'tags/v.1.11.1' did not match any files known to git.