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

Bug 338701

Summary: Allow ResetCommand to operate a single file
Product: [Technology] JGit Reporter: Tomasz Zarna <tomasz.zarna>
Component: JGitAssignee: Bernard Leach <leachbj>
Status: RESOLVED FIXED QA Contact:
Severity: enhancement    
Priority: P3 CC: caniszczyk, leachbj, matthias.sohn, robin
Version: 0.11Keywords: api, noteworthy
Target Milestone: 1.0.0   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Bug Depends on:    
Bug Blocks: 333049, 338202    

Description Tomasz Zarna CLA 2011-03-02 11:38:51 EST
Currently, the command can only be executed on a repository level. It would be helpful to be able to reset a single file, an equivalent of "git reset {ref} -- {path}".
Comment 1 Matthias Sohn CLA 2011-03-03 10:11:13 EST
[1] is a first step in this direction and will allow to replace files in the working tree from HEAD

[1] http://egit.eclipse.org/r/#change,2415
Comment 2 Bernard Leach CLA 2011-05-18 04:25:25 EDT
reset with paths rfc http://egit.eclipse.org/r/#change,3453
Comment 3 Chris Aniszczyk CLA 2011-05-19 10:20:17 EDT
Fixed with 37fe0988b26b7893888a073a33ccf0865723ca8b.