Re: Creating CVS-style patch headers with git-diff
- From
Tomas Carnecky <tom@dbservice.com>
- Date
- Jan 8, 2011, 15:26 UTC
- Message-ID
- <4D288211.3040806@dbservice.com>
- In-Reply-To
- <AANLkTinx9qM=fjH53UodY0G870Ne3wpFiFEgEGNXxOY7@mail.gmail.com>
On 1/8/11 2:43 PM, David Chanters wrote:
> Would the presense of the other meta-data, such as the "diff --git" > line as well as the "Index" line cause any problems when applying this > patch in CVS (I suppose now, my question doesn't have to apply to CVS
I don't know, you tell me. I've never used CVS.
> at all, more likely it will apply to any file sets)? I am not sure > how GNU Patch uses this meta information, and I assume "git diff" adds > it for a good reason.
gnu patch most likely doesn't use the index line and ignores all the git specific additions to the diff format.
tom