Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 361246 - IndexDiff.getModified() does not return modified files!
Summary: IndexDiff.getModified() does not return modified files!
Status: RESOLVED WORKSFORME
Alias: None
Product: JGit
Classification: Technology
Component: JGit (show other bugs)
Version: 1.1   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-10-18 07:44 EDT by chanser CLA
Modified: 2013-03-18 19:38 EDT (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description chanser CLA 2011-10-18 07:44:13 EDT
IndexDiff.getModified() does not return any staged modified files. I verified this bug by comparing it to the result of

git diff --cached --diff-filter=M 

Regards,

Christian
Comment 1 Matthias Sohn CLA 2011-10-21 08:59:50 EDT
Could you provide a failing test case proving your statement and push it to our code review server as described in the contributor guide ?
Comment 2 Robin Stocker CLA 2013-03-18 19:38:33 EDT
This functionality is actively used by EGit. No response -> closing. If you can provide a test case, please reopen.