[plt-dev] generating patches

From: Matthew Flatt (mflatt at cs.utah.edu)
Date: Tue May 25 19:57:50 EDT 2010

At Tue, 25 May 2010 19:33:31 -0400, David Van Horn wrote:
> How do I generate a patch from changes to my local git branch of the 
> racket sources?  If I just use git diff -p I don't see any of the files 
> I added; only the changes to the existing files.  For the files I added, 
> I did a git add and git commit, but I still don't see the contents in 
> git diff.

It's easiest to use

  git format-patch <since-SHA1>

Without any arguments, `git diff' tells you about added but
not-yet-committed changes.

Posted on the dev mailing list.