Re: [PATCH v2] Do not show "diff --git" metainfo with --no-prefix

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Jan 15, 2008 at 22:56:14 -0500, Daniel Barkalow wrote:
> On Tue, 15 Jan 2008, Linus Torvalds wrote:
> > [...]
> > So maybe a --standard-diff option that removes the "--git" part, but also 
> > removes everything else.
> 
> That seems wise to me. We should be able to generate patches that are 
> accessible to programs that can't follow any clever instructions. I think 
> the point of the "Index:" header is that these programs will freak out if 
> two filenames don't match (or, more likely, break in some way), and it 
> means you can't sensibly generate patches that upset them for deletes or 
> creates.

Funny, Subversion has support for explicit renames in core. So I would have
thought it can represent them in it's diffs. Might be worth checking what it
generates for copies and deletes (rename being a copy+delete in SVN) before
creating the converter from git to subversion diffs.

-- 
						 Jan 'Bulb' Hudec <bulb@xxxxxx>
-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux