Bug 338701 - Allow ResetCommand to operate a single file
Summary: Allow ResetCommand to operate a single file
Status: RESOLVED FIXED
Alias: None
Product: JGit
Classification: Technology
Component: JGit (show other bugs)
Version: 0.11   Edit
Hardware: PC Windows XP
: P3 enhancement (vote)
Target Milestone: 1.0.0   Edit
Assignee: Bernard Leach CLA
QA Contact:
URL:
Whiteboard:
Keywords: api, noteworthy
Depends on:
Blocks: 333049 338202
  Show dependency tree
 
Reported: 2011-03-02 11:38 EST by Tomasz Zarna CLA
Modified: 2011-05-19 10:20 EDT (History)
4 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-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.