Hi, On Wed, 18 Feb 2009, Graham Percival wrote:
> On Wed, Feb 18, 2009 at 03:57:39PM +0100, Johannes Schindelin wrote: > > Hi. > > > > On Wed, 18 Feb 2009, Jonathan Kulp wrote: > > > > > Am I correct in thinking that [git format-patch] creates the patch by > > > comparing my local (changed) file with the corresponding file in the > > > remote git repository? > > > > No, it creates patches from commits. So you use Git as usual: > > > > (inspect your changes) > > $ git diff > > (stage the modified files) > > $ git add <files> > > (commit the stuff) > > $ git commit > > (now generate patches from, say, the last 3 commits) > > $ git format-patch -3 > > > > From the rest of your mail I see that you made work hard on yourself by > > not using Git at all... > > Yes, definitely. I must admit that I think I forgot to explain > these steps in the CG. Could somebody take a look at it > (Documentation/devel/starting-git.itexi or git-starting.itexi) and > add the "git add / git commit" commands? Sorry, I am too swamped with work this week. > And was there a way to get "git format-patch" to produce individual > patches for every commit made since the last pull? I'd rather not have > new committers trying to remember how many commits they made, although I > suppose that they'd generally just make one commit with everything > included... Yes: $ git format-patch origin/web will produce individual patches (as -3 would have done), from everything not yet in origin/web. Ciao, Dscho _______________________________________________ lilypond-devel mailing list lilypond-devel@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-devel