Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 363967 - Should be able to stage file chunks in the synchronization view
Summary: Should be able to stage file chunks in the synchronization view
Status: RESOLVED FIXED
Alias: None
Product: EGit
Classification: Technology
Component: UI (show other bugs)
Version: unspecified   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Dariusz Luksza CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-11-16 15:11 EST by Raffi Khatchadourian CLA
Modified: 2012-05-08 16:37 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 Raffi Khatchadourian CLA 2011-11-16 15:11:55 EST
When I choose to synchronize my workspace with the repository, I am only able to commit entire files. However, I would like to commit chunks of files while view their differences between my copy and the repository copy. When I right-click on a file difference, I should be presented with an option to stage (commit) that difference.
Comment 1 Remy Suen CLA 2011-11-18 09:45:02 EST
You're using the compare editor, right? You should be able to bring your local changes to the index and save it from there.

As an aside, I know that this works when viewing diffs in the 'Git Staging' view.
Comment 2 Dariusz Luksza CLA 2011-11-18 18:13:09 EST
This is already implemented and pending for a review for some time. See changes:
http://egit.eclipse.org/r/#change,4196
http://egit.eclipse.org/r/#change,4239

Partial staging will only work when "Git Commits" model is used.
Comment 3 Dariusz Luksza CLA 2012-05-08 16:37:35 EDT
change #4196 was merged as commit 67f237ca0658dcd6ec2eef95dfe294578b2598ce
change #4239 was merged as commit 52e49ed4e1e515779e3936c295a3711c13a839df