git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* JGit too strict?
@ 2009-01-04  0:23 Robin Rosenberg
  2009-01-04  0:29 ` Robin Rosenberg
  2009-01-04  1:43 ` Junio C Hamano
  0 siblings, 2 replies; 3+ messages in thread
From: Robin Rosenberg @ 2009-01-04  0:23 UTC (permalink / raw)
  To: Shawn O. Pearce, git

Is this repo corrupt or is jgit too strict? C Git doesn't complain.

-- robin

EGIT.contrib/jgit clone  git://github.com/pheew/dotgit DOTGIT
Initialized empty Git repository in /home/me/SW/DOTGIT/.git                    
Counting objects:       856
Compressing objects:    100% (352/352)
Receiving objects:      100% (856/856)
Resolving deltas:       100% (554/554)
From git://github.com/pheew/dotgit
 * [new branch]      alt-zlib   -> origin/alt-zlib
 * [new branch]      gh-pages   -> origin/gh-pages
 * [new branch]      master     -> origin/master
Exception in thread "main" java.lang.Error: org.spearce.jgit.errors.CorruptObjectException: Object dd6cc50445808e64e032603e99723e04774a4e14 is corrupt: Invalid mode: 160000
        at org.spearce.jgit.lib.TreeIterator.<init>(TreeIterator.java:118)
        at org.spearce.jgit.lib.TreeIterator.step(TreeIterator.java:182)
        at org.spearce.jgit.lib.TreeIterator.step(TreeIterator.java:169)
        at org.spearce.jgit.lib.TreeIterator.next(TreeIterator.java:125)
        at org.spearce.jgit.lib.IndexTreeWalker.walk(IndexTreeWalker.java:131)
        at org.spearce.jgit.lib.IndexTreeWalker.walk(IndexTreeWalker.java:107)
        at org.spearce.jgit.lib.WorkDirCheckout.prescanOneTree(WorkDirCheckout.java:208)
        at org.spearce.jgit.lib.WorkDirCheckout.checkout(WorkDirCheckout.java:125)
        at org.spearce.jgit.pgm.Clone.doCheckout(Clone.java:174)
        at org.spearce.jgit.pgm.Clone.run(Clone.java:111)
        at org.spearce.jgit.pgm.TextBuiltin.execute(TextBuiltin.java:131)
        at org.spearce.jgit.pgm.Main.execute(Main.java:159)
        at org.spearce.jgit.pgm.Main.main(Main.java:84)
Caused by: org.spearce.jgit.errors.CorruptObjectException: Object dd6cc50445808e64e032603e99723e04774a4e14 is corrupt: Invalid mode: 160000
        at org.spearce.jgit.lib.Tree.readTree(Tree.java:584)
        at org.spearce.jgit.lib.Tree.ensureLoaded(Tree.java:528)
        at org.spearce.jgit.lib.Tree.memberCount(Tree.java:394)
        at org.spearce.jgit.lib.TreeIterator.step(TreeIterator.java:179)
        at org.spearce.jgit.lib.TreeIterator.<init>(TreeIterator.java:116)
        ... 12 more

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2009-01-04  1:45 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-01-04  0:23 JGit too strict? Robin Rosenberg
2009-01-04  0:29 ` Robin Rosenberg
2009-01-04  1:43 ` Junio C Hamano

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).