Problem
I am trying to do the clone from bitbucket. It is failing.
Other stackoverflow posts
I have gone through other stackoverflow posts but could not succeed. Specifically
shallow/unshallowhas not worked.PostBufferincrease to1 gbhas not worked- The
core.compressionis already0means disabled but it did not work
Clone using cmd
I have tried to go --depth 1 with clone and then --unshallow but it did not work.
It gave an error like below when tried git pull --all
Clone using Eclipse(Spring Toolsuite 3)
Then i tried to do the clone using Eclipse(Spring IDE) using ssh but it still failed with the following error
This seems like is because of some large object in history.
Questions
- If i am getting this error due to a large object in history, can i remove this? How to do that?
- Is this a limitation of
gitclient I am using or theBitbucketthe host of the repository? - Should I try some other
gitclient to clone/pull the repository
More Info
Git Configurations using git config --list
core.symlinks=false
core.autocrlf=true
core.fscache=true
color.diff=auto
color.status=auto
color.branch=auto
color.interactive=true
help.format=html
rebase.autosquash=true
http.sslcainfo=[CERT FILE]
http.sslbackend=openssl
diff.astextplain.textconv=astextplain
filter.lfs.clean=git-lfs clean -- %f
filter.lfs.smudge=git-lfs smudge -- %f
filter.lfs.process=git-lfs filter-process
filter.lfs.required=true
credential.helper=manager
user.email=[EMAIL]
user.name=[NAME]
winupdater.recentlyseenversion=2.23.0.windows.1
core.compression=0
http.postbuffer=1048576000
core.repositoryformatversion=0
core.filemode=false
core.bare=false
core.logallrefupdates=true
core.symlinks=false
core.ignorecase=true
remote.origin.url=[URL]
remote.origin.fetch=+refs/heads/*:refs/remotes/origin/*
branch.master.remote=origin
branch.master.merge=refs/heads/master
This repository is not using LFS
A suggestion I have come across is to use an older version of Eclipse that can succeed in cloning. Why is that so?
The error details in eclipse(sts) are as below

Spring Tool Suite 4.4.0 has the same error as above, the detail of the env is as below
Java is 64 bit
Some findings/conclusions
- The error with
STSis a limitation of theJGitthat is used in it as theGitclient. It has a limitation of size as far as I could understand That error does not occur if i use git from
cmdor even if use another clientsourcetree. In this case the error is the other one which saysfatal: pack has bad object at offset 90599582: inflate returned 1fatal: index-pack failedThe eclipse oxygen is able to clone successfully. But it does not make sense what's going on behind the scenes.



