Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 358892 - Replace With->HEAD Revision results in modified file
Summary: Replace With->HEAD Revision results in modified file
Status: CLOSED WORKSFORME
Alias: None
Product: JGit
Classification: Technology
Component: JGit (show other bugs)
Version: 1.1   Edit
Hardware: PC Mac OS X - Carbon (unsup.)
: P3 normal (vote)
Target Milestone: 0.12-M1   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-09-26 09:52 EDT by Jens Baumgart CLA
Modified: 2012-04-19 02:47 EDT (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 Jens Baumgart CLA 2011-09-26 09:52:24 EDT
Steps to reproduce:

1. Modify a file in the java editor
2. Team->Add
3. Execute "Replace With->HEAD revision"

Afterwards Staging View and "git gtatus" will show that the file is "changed but not staged".
git diff will show no diff.
Comment 1 Kevin Sawicki CLA 2011-11-22 18:11:02 EST
I think this may have been a duplicate of bug355205 which was fixed in http://egit.eclipse.org/r/#change,4296
Comment 2 Matthias Sohn CLA 2012-04-19 02:47:26 EDT
This problem can't be reproduced with current 2.0.0-SNAPSHOT