Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 352348 - [server][checkout] Checking out a file work in a strange way after an individual file has been unstaged
Summary: [server][checkout] Checking out a file work in a strange way after an individ...
Status: RESOLVED FIXED
Alias: None
Product: Orion
Classification: ECD
Component: Git (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 0.3   Edit
Assignee: Tomasz Zarna CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on: 355205
Blocks: 347776
  Show dependency tree
 
Reported: 2011-07-18 10:21 EDT by Tomasz Zarna CLA
Modified: 2011-09-29 08:05 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-07-18 10:21:28 EDT
Steps:
1. Edit a file
2. Stage it
3. Unstage it (re-enabled in bug 347776)
4. Open Git status for the project
5. Checkout the file
=> Nothing happens
6. Stage the file
=> The file disappears from both Staged and Unstaged section, which is expected after 5.
Comment 1 Tomasz Zarna CLA 2011-07-19 09:03:19 EDT
This works fine when in 2. you "Stage All" and in 3. you "Unstage All". That's why it's a blocker to bug 347776.
Comment 2 Tomasz Zarna CLA 2011-09-22 09:12:25 EDT
This is still blocked by two bugs in JGit: bug 353867, bug 355205. If they're not fixed within a week or so I will change the target to 0.4. To match the reality.
Comment 3 Tomasz Zarna CLA 2011-09-29 08:05:13 EDT
Bug 355205 has been fixed (merged in gerrit) so I have pushed a test that now pass as http://git.eclipse.org/c/orion/org.eclipse.orion.server.git/commit/?id=2fb658023e20f2fcce4eee1c0d47fb3e0e453f8b. Bug 353867 is a special case which should not happen as long as the user does all his work in Orion. Marking this one as fixed.