Uses of Class
org.eclipse.jgit.errors.IncorrectObjectTypeException
Packages that use IncorrectObjectTypeException
Package
Description
High-level API commands (the porcelain of JGit).
Computing blame/annotate information of files.
Comparing file contents by computing diffs.
Reading and editing the directory cache (index).
Distributed file system based repository storage.
File based repository storage.
Reading/writing Git pack files.
Core API for repository, config, refs, object database.
Content and commit history merge algorithms.
Git notes processing (for commits, etc).
Building/rendering revision graphs.
Walking revision graphs (commit history).
Filters for use in revision walking.
Walking and comparing directory/file trees (of commits, file system).
Filters for use in tree walking.
-
Uses of IncorrectObjectTypeException in org.eclipse.jgit.api
Methods in org.eclipse.jgit.api that throw IncorrectObjectTypeExceptionModifier and TypeMethodDescriptionprivate LogCommand
LogCommand.add
(boolean include, AnyObjectId start) LogCommand.add
(AnyObjectId start) Mark a commit to start graph traversal from.LogCommand.addRange
(AnyObjectId since, AnyObjectId until) Adds the rangesince..until
private void
CloneCommand.checkout
(Repository clonedRepo, FetchResult result) private RevTree
LogCommand.not
(AnyObjectId start) Same as--not start
, or^start
private RevCommit
CloneCommand.parseCommit
(Repository clonedRepo, Ref ref) -
Uses of IncorrectObjectTypeException in org.eclipse.jgit.blame
Methods in org.eclipse.jgit.blame that throw IncorrectObjectTypeException -
Uses of IncorrectObjectTypeException in org.eclipse.jgit.diff
Methods in org.eclipse.jgit.diff that throw IncorrectObjectTypeExceptionModifier and TypeMethodDescriptionprivate AbstractTreeIterator
DiffFormatter.makeIteratorFromTreeOrNull
(RevTree tree) -
Uses of IncorrectObjectTypeException in org.eclipse.jgit.dircache
Methods in org.eclipse.jgit.dircache that throw IncorrectObjectTypeExceptionModifier and TypeMethodDescriptionprivate void
DirCacheBuildIterator.createSubtreeIterator
(ObjectReader reader) Create a new iterator for the current entry's subtree.DirCacheIterator.createSubtreeIterator
(ObjectReader reader) Create a new iterator for the current entry's subtree.private boolean
DirCacheCheckout.doCheckout()
void
DirCacheCheckout.prescanOneTree()
Scan index and merge tree (no HEAD). -
Uses of IncorrectObjectTypeException in org.eclipse.jgit.internal.revwalk
Methods in org.eclipse.jgit.internal.revwalk that throw IncorrectObjectTypeExceptionModifier and TypeMethodDescriptionBitmappedReachabilityChecker.areAllReachable
(Collection<RevCommit> targets, Stream<RevCommit> starters) Check all targets are reachable from the starters.PedestrianReachabilityChecker.areAllReachable
(Collection<RevCommit> targets, Stream<RevCommit> starters) -
Uses of IncorrectObjectTypeException in org.eclipse.jgit.internal.storage.dfs
Methods in org.eclipse.jgit.internal.storage.dfs that throw IncorrectObjectTypeExceptionModifier and TypeMethodDescriptionprivate void
DfsPackCompactor.addObjectsToPack
(PackWriter pw, DfsReader ctx, ProgressMonitor pm) private static ObjectLoader
DfsReader.checkType
(ObjectLoader ldr, AnyObjectId id, int typeHint) private void
DfsPackCompactor.compactPacks
(DfsReader ctx, ProgressMonitor pm) long
DfsReader.getObjectSize
(AnyObjectId objectId, int typeHint) Get only the size of an object.DfsReader.open
(AnyObjectId objectId, int typeHint) Open an object from this database. -
Uses of IncorrectObjectTypeException in org.eclipse.jgit.internal.storage.file
Methods in org.eclipse.jgit.internal.storage.file that throw IncorrectObjectTypeExceptionModifier and TypeMethodDescriptionlong
WindowCursor.getObjectSize
(AnyObjectId objectId, int typeHint) Get only the size of an object.PackInserter.Reader.open
(AnyObjectId objectId, int typeHint) WindowCursor.open
(AnyObjectId objectId, int typeHint) Open an object from this database.private void
GC.removeReferenced
(Map<ObjectId, File> id2File, ObjectWalk w) Remove all entries from a map which key is the id of an object referenced by the given ObjectWalk -
Uses of IncorrectObjectTypeException in org.eclipse.jgit.internal.storage.pack
Methods in org.eclipse.jgit.internal.storage.pack that throw IncorrectObjectTypeExceptionModifier and TypeMethodDescriptionvoid
Include one object to the output file.private byte[]
DeltaWindow.buffer
(DeltaWindowEntry ent) PackWriterBitmapPreparer.captureOldAndNewCommits
(RevWalk rw, int expectedCommitCount, Set<? extends ObjectId> excludeFromBitmapSelection) Records which of thewants
can be found in the previous GC pack's bitmap indices and which are new.private void
PackWriter.findObjectsToPackUsingBitmaps
(BitmapWalker bitmapWalker, Set<? extends ObjectId> want, Set<? extends ObjectId> have) private DeltaIndex
DeltaWindow.index
(DeltaWindowEntry ent) private byte[]
BaseSearch.readTree
(AnyObjectId id) private void
PackWriter.searchForDeltas
(ProgressMonitor monitor) private void
PackWriter.searchForDeltas
(ProgressMonitor monitor, ObjectToPack[] list, int cnt) (package private) Collection
<BitmapCommit> PackWriterBitmapPreparer.selectCommits
(int expectedCommitCount, Set<? extends ObjectId> excludeFromBitmapSelection) Returns the commit objects for which bitmap indices should be built. -
Uses of IncorrectObjectTypeException in org.eclipse.jgit.junit
Methods in org.eclipse.jgit.junit that throw IncorrectObjectTypeException -
Uses of IncorrectObjectTypeException in org.eclipse.jgit.lfs
Methods in org.eclipse.jgit.lfs that throw IncorrectObjectTypeExceptionModifier and TypeMethodDescriptionprivate static void
LfsPrePushHook.findLfsPointers
(Set<LfsPointer> toPush, ObjectWalk walk) private Set
<LfsPointer> LfsPrePushHook.findObjectsToPush()
-
Uses of IncorrectObjectTypeException in org.eclipse.jgit.lfs.lib
Methods in org.eclipse.jgit.lfs.lib that throw IncorrectObjectTypeException -
Uses of IncorrectObjectTypeException in org.eclipse.jgit.lib
Methods in org.eclipse.jgit.lib that throw IncorrectObjectTypeExceptionModifier and TypeMethodDescriptionprivate static AnyObjectId
BlobBasedConfig.asTree
(ObjectReader or, AnyObjectId treeish) long
ObjectReader.Filter.getObjectSize
(AnyObjectId objectId, int typeHint) long
ObjectReader.getObjectSize
(AnyObjectId objectId, int typeHint) Get only the size of an object.boolean
ObjectDatabase.open
(AnyObjectId objectId, int typeHint) Open an object from this database.ObjectReader.Filter.open
(AnyObjectId objectId, int typeHint) abstract ObjectLoader
ObjectReader.open
(AnyObjectId objectId, int typeHint) Open an object from this database.Repository.open
(AnyObjectId objectId, int typeHint) Open an object from this repository.Repository.parseCommit
(AnyObjectId id) Locate a reference to a commit and immediately parse its content.private static byte[]
BlobBasedConfig.read
(ObjectReader or, AnyObjectId blobId) private static byte[]
BlobBasedConfig.read
(Repository db, AnyObjectId blobId) private static byte[]
BlobBasedConfig.read
(Repository db, AnyObjectId treeish, String path) Parse a git revision string and return an object id. -
Uses of IncorrectObjectTypeException in org.eclipse.jgit.merge
Methods in org.eclipse.jgit.merge that throw IncorrectObjectTypeExceptionModifier and TypeMethodDescriptionprotected RevCommit
Merger.getBaseCommit
(RevCommit a, RevCommit b) Return the merge base of two commits.protected RevCommit
RecursiveMerger.getBaseCommit
(RevCommit a, RevCommit b) Return the merge base of two commits.protected AbstractTreeIterator
Merger.openTree
(AnyObjectId treeId) Open an iterator over a tree.protected boolean
ResolveMerger.processEntry
(CanonicalTreeParser base, CanonicalTreeParser ours, CanonicalTreeParser theirs, DirCacheBuildIterator index, WorkingTreeIterator work, boolean ignoreConflicts, Attributes attributes) Processes one path and tries to merge taking git attributes in account.void
ThreeWayMerger.setBase
(AnyObjectId id) Set the common ancestor tree. -
Uses of IncorrectObjectTypeException in org.eclipse.jgit.notes
Methods in org.eclipse.jgit.notes that throw IncorrectObjectTypeExceptionModifier and TypeMethodDescriptionprivate void
static NoteMap
NoteMap.read
(ObjectReader reader, RevCommit commit) Load a collection of notes from a branch.static NoteMap
NoteMap.read
(ObjectReader reader, RevTree tree) Load a collection of notes from a tree.static NoteMap
NoteMap.readTree
(ObjectReader reader, ObjectId treeId) Load a collection of notes from a tree.Constructors in org.eclipse.jgit.notes that throw IncorrectObjectTypeExceptionModifierConstructorDescriptionprivate
NoteParser
(AbbreviatedObjectId prefix, ObjectReader r, ObjectId t) -
Uses of IncorrectObjectTypeException in org.eclipse.jgit.pgm
Methods in org.eclipse.jgit.pgm that throw IncorrectObjectTypeException -
Uses of IncorrectObjectTypeException in org.eclipse.jgit.revplot
Methods in org.eclipse.jgit.revplot that throw IncorrectObjectTypeException -
Uses of IncorrectObjectTypeException in org.eclipse.jgit.revwalk
Methods in org.eclipse.jgit.revwalk that throw IncorrectObjectTypeExceptionModifier and TypeMethodDescriptionprivate RevCommit
MergeBaseGenerator._next()
void
Apply a flag to all commits matching the specified filter.void
Apply a flag to all commits matching the specified filter.ReachabilityChecker.areAllReachable
(Collection<RevCommit> targets, Collection<RevCommit> starters) Deprecated.ReachabilityChecker.areAllReachable
(Collection<RevCommit> targets, Stream<RevCommit> starters) Check if all targets are reachable from thestarter
commits.void
ObjectWalk.checkConnectivity()
Verify all interesting objects are available, and reachable.static int
Count the number of commits that are reachable fromstart
until a commit that is reachable fromend
is encountered.void
RevCommitList.fillTo
(int highMark) Ensure this list contains at least a specified number of commits.void
Ensures all commits until the given commit are loaded.Find commits that are reachable fromstart
until a commit that is reachable fromend
is encountered.RevWalkUtils.findBranchesReachableFrom
(RevCommit commit, RevWalk revWalk, Collection<Ref> refs) Find the list of branches a given commit is reachable from when following parents.RevWalkUtils.findBranchesReachableFrom
(RevCommit commit, RevWalk revWalk, Collection<Ref> refs, ProgressMonitor monitor) Find the list of branches a given commit is reachable from when following parents.BitmapWalker.findObjects
(Iterable<? extends ObjectId> start, BitmapIndex.BitmapBuilder seen, boolean ignoreMissing) Return, as a bitmap, the objects reachable from the objects in start.private BitmapIndex.BitmapBuilder
BitmapWalker.findObjectsWalk
(Iterable<? extends ObjectId> start, BitmapIndex.BitmapBuilder seen, boolean ignoreMissingStart) (package private) byte[]
RevWalk.getCachedBytes
(RevObject obj) final boolean
BitmapWalker.BitmapObjectFilter.include
(ObjectWalk walker, AnyObjectId objid) boolean
Determine if the current entry is interesting to report.boolean
Determine if the supplied commit should be included in results.boolean
RevWalk.isMergedInto
(RevCommit base, RevCommit tip) Determine if a commit is reachable from another commit.void
Mark a root commit (i.e., one whose depth should be considered 0.)void
Mark a root commit (i.e., one whose depth should be considered 0.)void
Mark an object or commit to start graph traversal from.void
RevWalk.markStart
(Collection<RevCommit> list) Mark commits to start graph traversal from.void
Mark a commit to start graph traversal from.private void
ObjectWalk.markTreeUninteresting
(RevTree tree) void
ObjectWalk.markUninteresting
(RevObject o) Mark an object to not produce in the output.void
RevWalk.markUninteresting
(RevCommit c) Mark a commit to not produce in the output.void
DepthWalk.ObjectWalk.markUnshallow
(RevObject c) Mark an element which used to be shallow in the client, but which should now be considered a full commit.(package private) RevCommit
BoundaryGenerator.InitialGenerator.next()
(package private) RevCommit
BoundaryGenerator.next()
(package private) RevCommit
DelayRevQueue.next()
(package private) RevCommit
DepthGenerator.next()
(package private) RevCommit
FixUninterestingGenerator.next()
(package private) abstract RevCommit
Generator.next()
Return the next commit to the application, or the next generator.(package private) RevCommit
MergeBaseGenerator.next()
ObjectWalk.next()
Pop the next most recent commit.(package private) RevCommit
PendingGenerator.next()
RevWalk.next()
Pop the next most recent commit.(package private) RevCommit
RewriteGenerator.next()
(package private) RevCommit
StartGenerator.next()
(package private) RevCommit
TopoNonIntermixSortGenerator.next()
(package private) RevCommit
TopoSortGenerator.next()
ObjectWalk.nextObject()
Pop the next most recent object.(package private) void
(package private) void
(package private) abstract void
(package private) void
(package private) void
RevWalk.parseCommit
(AnyObjectId id) Locate a reference to a commit and immediately parse its content.(package private) void
RevBlob.parseHeaders
(RevWalk walk) (package private) void
RevCommit.parseHeaders
(RevWalk walk) (package private) abstract void
RevObject.parseHeaders
(RevWalk walk) (package private) void
RevTag.parseHeaders
(RevWalk walk) (package private) void
RevTree.parseHeaders
(RevWalk walk) RevWalk.parseTag
(AnyObjectId id) Locate a reference to an annotated tag and immediately parse its content.RevWalk.parseTree
(AnyObjectId id) Locate a reference to a tree.private RevObject
private void
TreeRevFilter.updateFollowFilter
(ObjectId[] trees, DiffConfig cfg) Constructors in org.eclipse.jgit.revwalk that throw IncorrectObjectTypeExceptionModifierConstructorDescription(package private)
(package private)
(package private)
DepthGenerator
(DepthWalk w, Generator s) (package private)
(package private)
(package private)
Create a new sorter and completely spin the generator.(package private)
Create a new sorter and completely spin the generator. -
Uses of IncorrectObjectTypeException in org.eclipse.jgit.revwalk.filter
Methods in org.eclipse.jgit.revwalk.filter that throw IncorrectObjectTypeExceptionModifier and TypeMethodDescriptionboolean
boolean
boolean
boolean
boolean
boolean
Determine if the supplied commit should be included in results.boolean
Determine if the supplied commit should be included in results.abstract boolean
ObjectFilter.include
(ObjectWalk walker, AnyObjectId objid) Determine if the named object should be included in the walk.boolean
boolean
boolean
Determine if the supplied commit should be included in results.abstract boolean
Determine if the supplied commit should be included in results.boolean
boolean
boolean
Determine if the supplied commit should be included in results.boolean
Determine if the supplied commit should be included in results. -
Uses of IncorrectObjectTypeException in org.eclipse.jgit.treewalk
Methods in org.eclipse.jgit.treewalk that throw IncorrectObjectTypeExceptionModifier and TypeMethodDescriptionint
TreeWalk.addTree
(AnyObjectId id) Add an already existing tree object for walking.abstract AbstractTreeIterator
AbstractTreeIterator.createSubtreeIterator
(ObjectReader reader) Create a new iterator for the current entry's subtree.AbstractTreeIterator.createSubtreeIterator
(ObjectReader reader, MutableObjectId idBuffer) Create a new iterator for the current entry's subtree.CanonicalTreeParser.createSubtreeIterator
(ObjectReader reader) Create a new iterator for the current entry's subtree.CanonicalTreeParser.createSubtreeIterator
(ObjectReader reader, MutableObjectId idBuffer) Create a new iterator for the current entry's subtree.EmptyTreeIterator.createSubtreeIterator
(ObjectReader reader) Create a new iterator for the current entry's subtree.FileTreeIterator.createSubtreeIterator
(ObjectReader reader) Create a new iterator for the current entry's subtree.void
TreeWalk.enterSubtree()
Enter into the current subtree.static TreeWalk
TreeWalk.forPath
(ObjectReader reader, String path, AnyObjectId... trees) Open a tree walk and filter to exactly one path.static TreeWalk
TreeWalk.forPath
(Repository db, String path, AnyObjectId... trees) Open a tree walk and filter to exactly one path.static TreeWalk
TreeWalk.forPath
(Repository db, String path, RevTree tree) Open a tree walk and filter to exactly one path.static TreeWalk
TreeWalk.forPath
(Repository repo, ObjectReader reader, String path, AnyObjectId... trees) Open a tree walk and filter to exactly one path.boolean
TreeWalk.next()
Advance this walker to the next relevant entry.private CanonicalTreeParser
TreeWalk.parserFor
(AnyObjectId id) void
CanonicalTreeParser.reset
(ObjectReader reader, AnyObjectId id) Reset this parser to walk through the given tree.void
TreeWalk.reset
(AnyObjectId id) Reset this walker to run over a single existing tree.void
TreeWalk.reset
(AnyObjectId... ids) Reset this walker to run over a set of existing trees.CanonicalTreeParser.resetRoot
(ObjectReader reader, AnyObjectId id) Reset this parser to walk through the given tree.Constructors in org.eclipse.jgit.treewalk that throw IncorrectObjectTypeExceptionModifierConstructorDescriptionCanonicalTreeParser
(byte[] prefix, ObjectReader reader, AnyObjectId treeId) Create a new parser for a tree appearing in a subset of a repository. -
Uses of IncorrectObjectTypeException in org.eclipse.jgit.treewalk.filter
Methods in org.eclipse.jgit.treewalk.filter that throw IncorrectObjectTypeExceptionModifier and TypeMethodDescriptionint
Test the filters against the walk.boolean
boolean
boolean
Determine if the current entry is interesting to report.boolean
Determine if the current entry is interesting to report.boolean
Determine if the current entry is interesting to report.boolean
boolean
boolean
Determine if the current entry is interesting to report.abstract boolean
Determine if the current entry is interesting to report.int
AndTreeFilter.Binary.matchFilter
(TreeWalk walker) int
AndTreeFilter.List.matchFilter
(TreeWalk walker) int
NotTreeFilter.matchFilter
(TreeWalk walker) Determine if the current entry is a parent, a match, or no match.int
OrTreeFilter.Binary.matchFilter
(TreeWalk walker) int
OrTreeFilter.List.matchFilter
(TreeWalk walker) int
TreeFilter.matchFilter
(TreeWalk walker) Determine if the current entry is a parent, a match, or no match.
ReachabilityChecker.areAllReachable(Collection, Stream)