Azure / draft-classic

A tool for developers to create cloud-native applications on Kubernetes.
https://draft.sh
MIT License
3.92k stars 395 forks source link

draft pack-repo add exits status 1 #421

Closed squillace closed 6 years ago

squillace commented 6 years ago

after iterating through adding and removing draft packs, at some point I started hitting this, and can't break out of it. I may have to re-init.

➜  fsharp git:(master) draft pack-repo add https://github.com/squillace/draft-fsharp-dotnetcore2-giraffe
Error: Unexpected error while defensively updating submodules
Error: exit status 1

More as I discover it.

reinitializing doesn't break it.

Update: OK, it seems I accidentally checked in a submodule, and that was dumb. Now, of course, I've backed that out, but apparently this code is still detecting it. I guess the only thing to do is to kill the repo and remake it from scratch, maybe with a different name.

https://github.com/Masterminds/vcs/blob/6f1c6d150500e452704e9863f68c2559f58616bf/git.go#L169-L190