2011-03-23, 00:47
I've started using GitHub finally and Pull Requests for submitting patches, but I've ran into a little snag and am curious to know what is the proper way of fixing it.
I made a fork of the XBMC repo on GitHub and created two patches on the master branch, both patches consisting of several commits. I just submitted a Pull Request for the first patch, selecting the first three commits as the commit range for the Pull Request. When I tried to create the second Pull Request, I realized that it would include the other patch as well, since Pull Request are for a range of commits beginning with when I forked the repo. So I'm assuming I have to separate things and work separate on these two patches. The question I have is, should I be creating a separate fork of the XBMC repo for each patch I'm working on, or is the proper way to just create a new branch?
Thanks,
Harry
I made a fork of the XBMC repo on GitHub and created two patches on the master branch, both patches consisting of several commits. I just submitted a Pull Request for the first patch, selecting the first three commits as the commit range for the Pull Request. When I tried to create the second Pull Request, I realized that it would include the other patch as well, since Pull Request are for a range of commits beginning with when I forked the repo. So I'm assuming I have to separate things and work separate on these two patches. The question I have is, should I be creating a separate fork of the XBMC repo for each patch I'm working on, or is the proper way to just create a new branch?
Thanks,
Harry