From: Tomas Carnecky <tom@dbservice.com>
To: David Chanters <david.chanters@googlemail.com>
Cc: git@vger.kernel.org
Subject: Re: Creating CVS-style patch headers with git-diff
Date: Sat, 08 Jan 2011 16:26:09 +0100 [thread overview]
Message-ID: <4D288211.3040806@dbservice.com> (raw)
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
next prev parent reply other threads:[~2011-01-08 15:26 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-01-08 11:23 Creating CVS-style patch headers with git-diff David Chanters
2011-01-08 11:49 ` Tomas Carnecky
2011-01-08 13:43 ` David Chanters
2011-01-08 15:21 ` Andreas Schwab
2011-01-08 15:35 ` David Chanters
2011-01-08 15:51 ` Tomas Carnecky
2011-01-08 16:17 ` Andreas Schwab
2011-01-08 15:26 ` Tomas Carnecky [this message]
2011-01-08 16:35 ` Robin Rosenberg
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4D288211.3040806@dbservice.com \
--to=tom@dbservice.com \
--cc=david.chanters@googlemail.com \
--cc=git@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).