Community
Participate
Working Groups
Build Identifier: 3.5.1.R35x_v20090910-9gEeG1_FthkNDSP2odXdThaOu9GFDPn83DGB7 I cloned repository with partial history using this command: git clone --depth 2 "url" After this I can't view history ("Cannot compute Git history. Missing commit ...."), pull. Reproducible: Always Steps to Reproduce: 1. Clone part of repository : git clone --depth 2 "url" 2. Try view history, pull, compare with.
Thoughts on this Shawn? I know that JGit doesn't support shallow clones yet [1]. [1] - http://egit.eclipse.org/r/#change,1320
Yup. This is because JGit's revision walker doesn't know where the shallow boundary is, and is crashing when it tries to walk a commit that wasn't actually downloaded by this clone.
I'm going to dupe this to bug 301627. We have some code towards implementing shallow clones but aren't there yet. *** This bug has been marked as a duplicate of bug 301627 ***