After going to a git presentation by Randal Schwartz and watching the
video by Linus on git, I decided to play with it some for a patch I'm
testing in Django.  I got git and git-svn installed on my Mac, pulled
down the Django source and started a new branch for the patch I'm
working on.

What's *really* cool is branches all live in the same directory so you
don't have to change your Python site-packages to point to a new
branch to test, just 'git checkout branch-name' and Django reloads
automatically and you're there.

What I can't figure out is how to create a nice patch from git to
include into Trac.  I tried "git format-patch master" but that outputs
something you'd send in an email.

I also tried "git diff master" and while this is a lot closer it
prepends "a" and "b" to the to path trees.  So you'd then have to use
"patch -p1 < mydiff", which may be what Trac does by default, I'm not
sure.

Is anyone else doing this?  Is there a better way to emit patches from
git?

Thanks,
Rob


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django developers" group.
To post to this group, send email to django-developers@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to