Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 347855

Summary: ResetCommand with path doesn't reset a file
Product: [Technology] JGit Reporter: Tomasz Zarna <tomasz.zarna>
Component: JGitAssignee: Project Inbox <jgit.core-inbox>
Status: CLOSED DUPLICATE QA Contact:
Severity: normal    
Priority: P3    
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Tomasz Zarna CLA 2011-05-31 15:35:20 EDT
In Orion, we started to use ResetCommand to unstage individual files. It works for most cases, but there are cases when it doesn't work as expected. For some reason, in those cases a selected file is not reset and stays modified and changed (MM) at the same time.

I've prepared a quick test that clones a tiny repository from github, modifies a file in it, stage it and then tries to unstage the file.

If you agree there is something wrong going on there I'm eager to prepare a better test. I didn't want to spend to much time on it, because maybe I'm missing something obvious.
Comment 1 Tomasz Zarna CLA 2011-05-31 15:37:13 EDT

*** This bug has been marked as a duplicate of bug 347856 ***