From: Robin Rosenberg <robin.rosenberg@dewire.com>
To: "Shawn O. Pearce" <spearce@spearce.org>, git@vger.kernel.org
Subject: JGit too strict?
Date: Sun, 4 Jan 2009 01:23:30 +0100 [thread overview]
Message-ID: <200901040123.30392.robin.rosenberg@dewire.com> (raw)
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
next reply other threads:[~2009-01-04 0:24 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-01-04 0:23 Robin Rosenberg [this message]
2009-01-04 0:29 ` JGit too strict? Robin Rosenberg
2009-01-04 1:43 ` Junio C Hamano
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200901040123.30392.robin.rosenberg@dewire.com \
--to=robin.rosenberg@dewire.com \
--cc=git@vger.kernel.org \
--cc=spearce@spearce.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.