[Webkit-unassigned] [Bug 32834] svn-apply should handle git patches with similarity index, rename and copy directives

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Jan 28 04:17:53 PST 2010


https://bugs.webkit.org/show_bug.cgi?id=32834





--- Comment #3 from Chris Jerdonek <cjerdonek at webkit.org>  2010-01-28 04:17:52 PST ---
(In reply to comment #2)
> (In reply to comment #1)
> > For the purpose of submitting Git patches, it seems there can be (at least) two
> > approaches:
> > 
> > (1) Make a "create-patch" script that supports creating a patch in standard
> > format from both SVN and Git.
> > 
> > (2) Make svn-apply and svn-unapply support both Git and SVN format.
> > 
> > (Combining both approaches may also make sense -- e.g. to address the
> > issue in this bug report.)
> > 
> > From what I can tell, we currently do (2) to some extent, but not (1).  Has
> > anyone given much thought to these approaches?  Are there any reasons to
> > prefer (2) over (1) or vice versa, or to not do (1)?
> 
> I think (2) is a higher priority than (1) because git's own diff subcommand
> (with the --binary switch) is sufficient to capture all of the changes in a
> patch.

I gave an example here of a case where the "git diff" command doesn't generate
a patch in the standard format (at least with the way that I was running it):

https://lists.webkit.org/pipermail/webkit-dev/2010-January/011495.html

The example occurred because "git diff" doesn't run fixChangeLogPatch.

> Because the project's source repository is subversion (with a moderate number
> of developers using git), I think it's slightly more important that git patches
> work with the tools to apply patches to an svn working directory than
> vice-versa.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list