When I attempt to do a git clone on my git repository I get the following error:
error: cache entry has null sha1: .chef/credentials fatal: unable to write new index file
My clone fails and the local directory is empty. When I navigate to the source -> .chef directory on bitbucket UI I see the following:
credentials → 000000000000 [000000000000]
I think this is an artifact of a symbolic link, but somehow this was successfully checked in and has created some sort of bad index sha value.
Any way to fix this?
I think this has something to do with symlink preservation where they are commited and pushed on a linux filesystem, then checking it out on a windows FS and commit/push causes something weird to happen.
Unfortunately, I had to move past this error by reverting to a past commit and resetting. So, the credentials dir is no longer there. So, I am closing this issue out.
I'm getting a similar error.
error: cache entry has null sha1: FileName
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Happy to look into this more closely, but I'd need to know which repo this is. If you're not comfortable troubleshooting this publicly, please email support@bitbucket.org and refer to this page.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.