Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 347855 - ResetCommand with path doesn't reset a file
Summary: ResetCommand with path doesn't reset a file
Status: CLOSED DUPLICATE of bug 347856
Alias: None
Product: JGit
Classification: Technology
Component: JGit (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-05-31 15:35 EDT by Tomasz Zarna CLA
Modified: 2011-07-13 06:47 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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 ***