When I want to use lua-git to fetch the tag 0.2.0, that's okay. But when I want to fetch the tag 0.2.1, it results in error:
$ bin/lua ../../test_fetch2.lua
Counting objects: 100, done.
Compressing objects: 100% (88/88), done.
Total 100 (delta 31), reused 58 (delta 11)
bin/lua: .../Repository/_install/bin/../lib/lua/git/repo.lua:69: c0585b9ae54f12f5271461311910a0442527699e (tag) is not a commit
stack traceback:
[C]: in function 'assert'
.../Repository/_install/bin/../lib/lua/git/repo.lua:69: in function 'commit'
.../Repository/_install/bin/../lib/lua/git/repo.lua:158: in function 'checkout'
../../test_fetch2.lua:13: in main chunk
[C]: ?
I don't understand git revisions (actually I didn't even know about them until luadist-git/#9), but the repository https://github.com/LuaDist/lua-spore.git seems to contain (or whatever verb is appropriate :) them:
When I want to use
lua-git
to fetch the tag0.2.0
, that's okay. But when I want to fetch the tag0.2.1
, it results in error:The test file is here: