Re: Pushing patches to staging

2011-11-18 Thread David Kastrup
"Phil Holmes" writes: >> git fetch (to be sure you have the current version of staging) >> git checkout origin/staging >> ... commit your simple change ... >> git push origin HEAD:staging >> >> This assumes that you have staging in the branches you fetch. If that >> is not the case, add an appro

Re: Pushing patches to staging

2011-11-18 Thread Phil Holmes
- Original Message - From: "David Kastrup" To: Sent: Tuesday, November 15, 2011 2:43 PM Subject: Re: Pushing patches to staging "Phil Holmes" writes: - Original Message - From: "Carl Sorensen" [snip] No -- your set of commands will *N

Re: Pushing patches to staging

2011-11-15 Thread David Kastrup
"Phil Holmes" writes: > - Original Message - > From: "David Kastrup" > To: > Sent: Tuesday, November 15, 2011 2:43 PM > Subject: Re: Pushing patches to staging > > > Thanks, David. I've seen your earlier mail where you recommend: >

Re: Pushing patches to staging

2011-11-15 Thread Phil Holmes
- Original Message - From: "David Kastrup" To: Sent: Tuesday, November 15, 2011 2:43 PM Subject: Re: Pushing patches to staging "Phil Holmes" writes: - Original Message - From: "Carl Sorensen" [snip] No -- your set of commands will *N

Re: Pushing patches to staging

2011-11-15 Thread David Kastrup
"Phil Holmes" writes: > - Original Message - > From: "Carl Sorensen" > > [snip] > >> No -- your set of commands will *NOT* work. > >> No, this set of my commands is not correct, because staging can be reset. >> So we never want to merge on it, and the git pull commands will do a >> merg

Re: Pushing patches to staging

2011-11-15 Thread Phil Holmes
- Original Message - From: "Carl Sorensen" [snip] No -- your set of commands will *NOT* work. No, this set of my commands is not correct, because staging can be reset. So we never want to merge on it, and the git pull commands will do a merge. I will get a revised set of comman

Re: Pushing patches to staging

2011-11-13 Thread Carl Sorensen
On 11/13/11 3:51 AM, "Phil Holmes" wrote: >- Original Message - >From: "Carl Sorensen" >To: "Graham Percival" ; "David Kastrup" > >Cc: >Sent: Saturday, November 12, 2011 11:59 PM >Subject: Re: Pushing patches to st

Re: Pushing patches to staging

2011-11-13 Thread David Kastrup
"Phil Holmes" writes: > Here's Carl's simple amended recipe, with my changes/comments. Can > those that understand confirm this is OK? This is not particularly funny anymore. -- David Kastrup ___ lilypond-devel mailing list lilypond-devel@gnu.org h

Re: Pushing patches to staging

2011-11-13 Thread Phil Holmes
- Original Message - From: "Carl Sorensen" To: "Graham Percival" ; "David Kastrup" Cc: Sent: Saturday, November 12, 2011 11:59 PM Subject: Re: Pushing patches to staging On 11/12/11 3:08 PM, "Graham Percival" wrote: The only problem i

Re: Pushing patches to staging

2011-11-12 Thread Carl Sorensen
On 11/12/11 9:06 PM, "David Kastrup" wrote: > >If you use git am on a patch (or patch series) created with git >format-patch, it will do the equivalent of cherry-picks instead of just >duplicating the effect on the work tree. Better for the history than >just patching. Worse than fast-forward

Re: Pushing patches to staging

2011-11-12 Thread David Kastrup
Carl Sorensen writes: > On 11/12/11 4:59 PM, "Carl Sorensen" wrote: > >> >>On 11/12/11 3:08 PM, "Graham Percival" wrote: >> >>> >>> >>>The only problem is to develop a series of simple commands to do >>>this task. >> >>Here's my set of simple commands: >> >>git checkout master >>git pull origin

Re: Pushing patches to staging

2011-11-12 Thread David Kastrup
Carl Sorensen writes: > On 11/12/11 3:08 PM, "Graham Percival" wrote: > >> >> >>The only problem is to develop a series of simple commands to do >>this task. > > Here's my set of simple commands: > > git checkout master > git pull origin master If you did your own development on master, you now

Re: Pushing patches to staging

2011-11-12 Thread David Kastrup
Graham Percival writes: > **OR**... I could run the 7 commands that Carl suggested, and > spend those X hours working on lilypond instead of reading git > docs. > > I think that second option is best for the project. > > James, Phil? Please test those commands, and if they work, get > them into

Re: Pushing patches to staging

2011-11-12 Thread Carl Sorensen
On 11/12/11 4:59 PM, "Carl Sorensen" wrote: > >On 11/12/11 3:08 PM, "Graham Percival" wrote: > >> >> >>The only problem is to develop a series of simple commands to do >>this task. > >Here's my set of simple commands: > >git checkout master >git pull origin master >git apply my_patch_file_name

Re: Pushing patches to staging

2011-11-12 Thread Graham Percival
On Sun, Nov 13, 2011 at 12:13:18AM +0100, David Kastrup wrote: > Graham Percival writes: > > > Sorry, I was unclear. > > > > - I am a new contributor. No wait, a new developer who has just > > been given git push ability. > > - I am a stupid. > > Why would one have given you push ability? Be

Re: Pushing patches to staging

2011-11-12 Thread Carl Sorensen
On 11/12/11 3:08 PM, "Graham Percival" wrote: > > >The only problem is to develop a series of simple commands to do >this task. Here's my set of simple commands: git checkout master git pull origin master git apply my_patch_file_name_goes_here git checkout staging git pull origin staging git c

Re: Pushing patches to staging

2011-11-12 Thread David Kastrup
Graham Percival writes: > On Sat, Nov 12, 2011 at 08:43:54PM +0100, David Kastrup wrote: >> Graham Percival writes: >> >> > What does "rebase to your push target" mean? >> >> You can't push if the pushed branch is not a descendant of the branch >> you push to. >> >> It's not like this a surpr

Re: Pushing patches to staging

2011-11-12 Thread Graham Percival
On Sat, Nov 12, 2011 at 08:56:38PM +0100, David Kastrup wrote: > And you can't push to master anyway without having rebased (or merged, > which one does not usually want to see upstream) your development branch > to its current state, so I have trouble understanding your problem. You're assuming t

Re: Pushing patches to staging

2011-11-12 Thread Graham Percival
On Sat, Nov 12, 2011 at 08:43:54PM +0100, David Kastrup wrote: > Graham Percival writes: > > > What does "rebase to your push target" mean? > > You can't push if the pushed branch is not a descendant of the branch > you push to. > > It's not like this a surprising new thing. It's just the same

Re: Pushing patches to staging

2011-11-12 Thread David Kastrup
Peekay Ex writes: > So does that mean we are considering this 'staging' branch push > experiment a (near) success or at least something we all agree on or > is that another GOPpy thing? - I know we've had some minor > inconveniences with this method that requires knowledge of git more > than we h

Re: Pushing patches to staging

2011-11-12 Thread David Kastrup
Graham Percival writes: > On Sat, Nov 12, 2011 at 07:58:55PM +0100, David Kastrup wrote: >> "Phil Holmes" writes: >> >> > At some point in the near future, I'll need to push a CG patch to >> > update the bug squad rota. My understanding is that this should now >> > be done to dev/staging rathe

Re: Pushing patches to staging

2011-11-12 Thread Peekay Ex
Hello, On Sat, Nov 12, 2011 at 6:58 PM, David Kastrup wrote: > "Phil Holmes" writes: > >> At some point in the near future, I'll need to push a CG patch to >> update the bug squad rota.  My understanding is that this should now >> be done to dev/staging rather than master.  I've read David's not

Re: Pushing patches to staging

2011-11-12 Thread Graham Percival
On Sat, Nov 12, 2011 at 07:58:55PM +0100, David Kastrup wrote: > "Phil Holmes" writes: > > > At some point in the near future, I'll need to push a CG patch to > > update the bug squad rota. My understanding is that this should now > > be done to dev/staging rather than master. I've read David's

Re: Pushing patches to staging

2011-11-12 Thread David Kastrup
"Phil Holmes" writes: > At some point in the near future, I'll need to push a CG patch to > update the bug squad rota. My understanding is that this should now > be done to dev/staging rather than master. I've read David's note > about how to do this, and wonder whether that's all necessary for

Pushing patches to staging

2011-11-12 Thread Phil Holmes
At some point in the near future, I'll need to push a CG patch to update the bug squad rota. My understanding is that this should now be done to dev/staging rather than master. I've read David's note about how to do this, and wonder whether that's all necessary for a simple patch that's in my