This repository was archived by the owner on Sep 11, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 534
Can't clone annotated tags with ReferenceName
in Clone
#557
Labels
Comments
Hey @mitchellh, thanks for reporting this. Also, thank you for lots of other great open source stuff. :) This appears to be because we are trying to reset the working directory to https://github.com/src-d/go-git/blob/master/repository.go#L434 |
orirawlings
added a commit
to orirawlings/go-git
that referenced
this issue
Aug 24, 2017
orirawlings
added a commit
to orirawlings/go-git
that referenced
this issue
Aug 24, 2017
orirawlings
added a commit
to orirawlings/go-git
that referenced
this issue
Aug 25, 2017
orirawlings
added a commit
to orirawlings/go-git
that referenced
this issue
Aug 25, 2017
mcuadros
added a commit
that referenced
this issue
Aug 27, 2017
repository: Resolve commit when cloning annotated tag, fixes #557
Thank you! |
@mitchellh just playing or any plan for use it in something relevant? |
Something quite major! It is relevant to an existing product. I'll comment back here once we announce it. Its still not released. :) |
# for free
to subscribe to this conversation on GitHub.
Already have an account?
#.
Hi! Great library.
The problem is that given an annotated tag ref, I get an "object not found" error:
Where
v1.0.0
is an annotated tag (not a lightweight one).I'm not sure if this is working as intended or not, but I'd expect the library to recognize the commit the annotated tag is pointing to and load that.
Reproducing this is extremely easy:
git tag -a "v1.0.0" -m "1.0.0"
Thanks!
The text was updated successfully, but these errors were encountered: