-
Notifications
You must be signed in to change notification settings - Fork 1k
Unable to update checked out version: fatal: Not a git repository (or any of the parent directories): .git #409
Comments
hi! thanks for posting the issue! Oi, that aws-sdk-go repo...I seem to see that a disproportionate amount of the time, givin' problems. Is the project you're working on public, so that I can more directly reproduce the error? And, is the error itself reproducible on subsequent Clearly, it's able to retrieve a version list (because that's where |
Hi @sdboyer I'm going to try to reproduce this situation in a new repository. |
I am able to reproduce this problem with this simple go file in my linux machine package main
import "github.com/aws/aws-sdk-go/aws"
func main() {
} But there is something strange, this error doesn't happen in my macOS machine (same golang version and dep commit) so I started to suspect this is somehow related to cache folder. After removing the folder I went further investigating this using Here are the steps I did:
So it looks like something is not being clean up when the process is interrupted. Just reminding that this error happens only after integration with |
Thanks, this happened with one of my project as well. After I force cleaned |
What version of Go are you using (go version)?
go version go1.8.1 linux/amd64
What operating system and processor architecture are you using?
Linux 4.4.0-72-generic #93-Ubuntu SMP Fri Mar 31 14:07:41 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
What did you do?
I am using the HEAD of master branch (commit
536f25f
) and after runningdep ensure -v
I got:In fact the error is a bit longer than that because it's repeating the
Unable to update checked out version: fatal: Not a git repository (or any of the parent directories): .git
for every tag of theaws-sdk-go
project.Like suggested here #387 (comment) it seems a problem with update to gps v0.16.0 because this problem is fixed if I change to
b839831e75440c4c09f69d26b0b54853bba35092
commit and happens again in any commit after that.The text was updated successfully, but these errors were encountered: