Return-Path: Delivered-To: apmail-jakarta-commons-dev-archive@www.apache.org Received: (qmail 38614 invoked from network); 11 Sep 2004 15:45:12 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 11 Sep 2004 15:45:12 -0000 Received: (qmail 27323 invoked by uid 500); 11 Sep 2004 15:45:08 -0000 Delivered-To: apmail-jakarta-commons-dev-archive@jakarta.apache.org Received: (qmail 27292 invoked by uid 500); 11 Sep 2004 15:45:07 -0000 Mailing-List: contact commons-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Jakarta Commons Developers List" Reply-To: "Jakarta Commons Developers List" Delivered-To: mailing list commons-dev@jakarta.apache.org Received: (qmail 27257 invoked by uid 99); 11 Sep 2004 15:45:07 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from [209.249.229.10] (HELO ricouer.tsdinc.steitz.com) (209.249.229.10) by apache.org (qpsmtpd/0.28) with ESMTP; Sat, 11 Sep 2004 08:45:06 -0700 Received: from Lavoie.tsdinc.steitz.com ([209.249.229.4]) by ricouer.tsdinc.steitz.com with Microsoft SMTPSVC(5.0.2195.6713); Sat, 11 Sep 2004 11:44:55 -0400 Received: from [192.168.1.43] ([130.13.71.41]) by Lavoie.tsdinc.steitz.com with Microsoft SMTPSVC(5.0.2195.6713); Sat, 11 Sep 2004 11:44:55 -0400 Message-ID: <4142F371.7090001@steitz.com> Date: Sat, 11 Sep 2004 08:45:37 -0400 From: Phil Steitz User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.2) Gecko/20040803 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Jakarta Commons Developers List Subject: Re: Please help me generate a patch file References: <004301c49807$c1099440$6401a8c0@bobafett> In-Reply-To: <004301c49807$c1099440$6401a8c0@bobafett> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 11 Sep 2004 15:44:55.0411 (UTC) FILETIME=[48F7AC30:01C49816] X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Hi Sean, In addition to line endings, two other things that sometimes cause problems are tabs vs. spaces and trailing spaces. I can't remember if JBuilder has a "remove trailing spaces" edit option, but if it (or Tortoise CVS?) does and you have that turned on, that would cause the diff line below. The standard license template has a trailing space on the "changed" line. You should also make sure that your editor is set up to use spaces instead of tabs. hth, Phil Sean Schofield wrote: > Greetings, > > I am trying to create a CVS patch. I'm using JBuilder X and Tortoise CVS on > Windows XP. As a test I modified a single existing line of code in JBuilder > and saved. My format settings in JBuilder were set to "preserve current > line endings within files." When I generate the patch file in CVS it > contains a ton of changes to lines that I did not change. > > An example is the beginning of the patch file shows: > > /* > * Copyright 2002-2004 The Apache Software Foundation. > - * > + * > > It would seem this might have something to do with the line breaks. I have > tried RTFM as well as googling everywhere and cannot figure out what's going > on. Please help! I'd like to contribute something without my patch > screwing up the formatting, etc.of the source files. > > Thanks, > > sean > --------------------------------------------------------------------- To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org For additional commands, e-mail: commons-dev-help@jakarta.apache.org