This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Summary: | Support for combining commits | ||
---|---|---|---|
Product: | versioncontrol | Reporter: | pinus <pinus> |
Component: | Git | Assignee: | Ondrej Vrabec <ovrabec> |
Status: | NEW --- | ||
Severity: | normal | CC: | apireviews, git, mitya, Noctis, Saljack |
Priority: | P3 | ||
Version: | 8.0.1 | ||
Hardware: | PC | ||
OS: | Linux | ||
Issue Type: | ENHANCEMENT | Exception Reporter: | |
Attachments: | api patch |
Description
pinus
2014-05-22 16:52:50 UTC
Are you talking about interactive rebase and its ability to squash commits? Yes git rebase -i, pick and squash. need to create an api for that in libs.git... please review the api patch Created attachment 147966 [details]
api patch
(In reply to Ondrej Vrabec from comment #3) > need to create an api for that in libs.git... > please review the api patch Well to do a serious review I'm not enough into the details. For example I have no idea what the Thread.sleep(1100); is about. It looks creepy to me. I'll see it from the users perspective. You commit early and often. Go back and forth, try this and that. Now you want to push the stuff to a more public repository. Not everybody should or wants to see your steps. You need to cleanup first. You need to go back in your commit history and select the commits you want to clean up. Probably to the status of the remote repository at pull time, if it is a tracked branch. If it is not tracked you need to pick the start commit manually. After picking the commits a diff would be great. The diff should show the changes in all files to its previous commit. This gives you an overview what the new commit will change. This is a real advantage over the command line. With a cherry on top it would be possible to export the changes as a patch. not enough time for 8.0.1 any news on this issue ? is there any other feature planned ? Can I also merge feature branches with master with squashing commit |