Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 361112 - [server] Cannot discard an addition
Summary: [server] Cannot discard an addition
Status: RESOLVED FIXED
Alias: None
Product: Orion
Classification: ECD
Component: Git (show other bugs)
Version: 0.3   Edit
Hardware: PC Windows XP
: P3 minor (vote)
Target Milestone: 0.4 M2   Edit
Assignee: Tomasz Zarna CLA
QA Contact:
URL:
Whiteboard:
Keywords:
: 363504 (view as bug list)
Depends on:
Blocks:
 
Reported: 2011-10-17 05:28 EDT by Tomasz Zarna CLA
Modified: 2011-12-12 11:15 EST (History)
2 users (show)

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-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).