What do you mean? To prepare a patch? What I typically do is create a
local branch and then diff against trunk.

git checkout feature-branch
git diff --no-prefix trunk > XXX.patch

You can leave out --no-prefix -- this will create a patch which you
need to apply with patch -p1 < patch but otherwise it's the same
format.

Git supports binary patches, but svn doesn't (as far as I know). I
don't know how to handle binary patches that would be svn compatible.

Dawid

On Wed, Apr 11, 2012 at 8:14 PM, Benson Margulies <[email protected]> wrote:
> I'm using the git mirror when making patches. Has anyone worked out a
> good way to get patches in the usual highly digestible subversion
> format when operating in this mode?
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to