Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 319787 - Implement GITLINK support in WorkingTreeIterator
Summary: Implement GITLINK support in WorkingTreeIterator
Status: RESOLVED FIXED
Alias: None
Product: JGit
Classification: Technology
Component: JGit (show other bugs)
Version: unspecified   Edit
Hardware: PC Linux
: P3 enhancement (vote)
Target Milestone: 1.2   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-07-13 16:25 EDT by Robin Rosenberg CLA
Modified: 2011-12-14 16:22 EST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Robin Rosenberg CLA 2010-07-13 16:25:56 EDT
There is a TODO marker in WorkingTreeIterator's idBuffer() method to add
support for the GITLINK type of file.

This requires opening a repository against the child and reading its HEAD
reference to get the current commit.

For performance reasons we probably also want to modify Repository to
permit opening a Repository instance without building the list of PackFiles
right away, or even reading the config file.  These items aren't necessary
to resolve the HEAD ref into an ObjectId for use here.

Original at http://code.google.com/p/egit/issues/detail?id=19
Comment 1 Kevin Sawicki CLA 2011-12-14 16:22:06 EST
I believe this was fixed in commit 931b931ee830057a6c713ed8ccc56b75aa50d195