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

Bug 361112

Summary: [server] Cannot discard an addition
Product: [ECD] Orion Reporter: Tomasz Zarna <tomasz.zarna>
Component: GitAssignee: Tomasz Zarna <tomasz.zarna>
Status: RESOLVED FIXED QA Contact:
Severity: minor    
Priority: P3 CC: eclipse.felipe, Szymon.Brandys
Version: 0.3   
Target Milestone: 0.4 M2   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Tomasz Zarna CLA 2011-10-17 05:28:18 EDT
Steps:
1. Create a new file
2. Go to Git Status
3. Press "Discard the select change" for the file
=> SHOULD BE: the file should be removed after accepting the prompt
=> IS: nothing happens after the prompt
Comment 1 Tomasz Zarna CLA 2011-10-17 05:48:44 EDT
Simply deleting the file should do the job.
Comment 2 Tomasz Zarna CLA 2011-11-10 12:11:30 EST
*** Bug 363504 has been marked as a duplicate of this bug. ***
Comment 3 Tomasz Zarna CLA 2011-12-12 11:00:43 EST
It's expected that "git checkout" doesn't touch untracked files, but for convenience I'll add a flag that will remove these files on checkout.
Comment 4 Tomasz Zarna CLA 2011-12-12 11:15:33 EST
Fixed with 0472b44429cf36f547692a5f39ee8e3c40d628db (server) and 281ed28ce0c0fee6e9560a924dca75c369ad707c (client).