www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/02/02/10:53:28

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-2.3 required=5.0 tests=AWL,BAYES_00
X-Spam-Check-By: sourceware.org
Date: Mon, 2 Feb 2009 16:52:59 +0100
From: Spiro Trikaliotis <an-cygwin AT spiro DOT trikaliotis DOT net>
To: cygwin AT cygwin DOT com
Cc: xerces8 <xerces8 AT butn DOT net>
Message-ID: <20090202155259.GK21389@trikaliotis.net>
Mail-Followup-To: cygwin AT cygwin DOT com, xerces8 <xerces8 AT butn DOT net>
References: <WorldClient-F200902021610 DOT AA10520171 AT butn DOT net>
MIME-Version: 1.0
In-Reply-To: <WorldClient-F200902021610.AA10520171@butn.net>
User-Agent: Mutt/1.5.17+20080114 (2008-01-14)
X-SA-Exim-Connect-IP: 87.163.220.10
X-SA-Exim-Mail-From: an-cygwin AT spiro DOT trikaliotis DOT net
Subject: Re: diff inserts tab into header ?
X-SA-Exim-Version: 4.2.1 (built Tue, 09 Jan 2007 17:23:22 +0000)
X-SA-Exim-Scanned: Yes (on mail.trikaliotis.net)
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

Hello,

* On Mon, Feb 02, 2009 at 04:10:52PM +0100 xerces8 wrote:
 
> I noticed that 
> diff -u Portmon.log _viminfo
> (using diffutils 2.8.7-1) puts tabs into the header, like this:
> 
> --- Portmon.log 2008-07-25 13:57:56.631375000 +0200
> +++ _viminfo    2009-01-21 13:56:23.715740300 +0100
> @@ -1,393 +1,401 @@
> 
> after the filename and before the date is a TAB char.

That's correct, and it should be there. That's how all diffs I know
behave. That's even correct for "svn diff" and "cvs diff".
 
> I discovered this when trying to send a patch to a project and
> they rejected it because of this tab chars.

Are you sure this is the case? Can you send the exact message they sent
you when they rejected the patch?

Best regards,
Spiro.

-- 
Spiro R. Trikaliotis                              http://opencbm.sf.net/
http://www.trikaliotis.net/                     http://www.viceteam.org/

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019