From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Glanzmann Subject: Re: git-diff-files -z output Date: Sun, 22 May 2005 19:27:37 +0200 Message-ID: <20050522172737.GB17570@cip.informatik.uni-erlangen.de> References: <20050522170540.GO15178@cip.informatik.uni-erlangen.de> <7v3bsffadn.fsf@assigned-by-dhcp.cox.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-From: git-owner@vger.kernel.org Sun May 22 19:27:24 2005 Return-path: Received: from vger.kernel.org ([12.107.209.244]) by ciao.gmane.org with esmtp (Exim 4.43) id 1DZuDY-00022S-MC for gcvg-git@gmane.org; Sun, 22 May 2005 19:26:24 +0200 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S261196AbVEVR1n (ORCPT ); Sun, 22 May 2005 13:27:43 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S261275AbVEVR1n (ORCPT ); Sun, 22 May 2005 13:27:43 -0400 Received: from faui03.informatik.uni-erlangen.de ([131.188.30.103]:38091 "EHLO faui03.informatik.uni-erlangen.de") by vger.kernel.org with ESMTP id S261211AbVEVR1j (ORCPT ); Sun, 22 May 2005 13:27:39 -0400 Received: from faui03.informatik.uni-erlangen.de (faui03.informatik.uni-erlangen.de [131.188.30.103]) by faui03.informatik.uni-erlangen.de (8.12.9/8.12.9) with ESMTP id j4MHRbS8018491 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Sun, 22 May 2005 17:27:38 GMT Received: (from sithglan@localhost) by faui03.informatik.uni-erlangen.de (8.12.9/8.12.9) id j4MHRbGO018489 for git@vger.kernel.org; Sun, 22 May 2005 19:27:37 +0200 (CEST) To: GIT Mail-Followup-To: GIT Content-Disposition: inline In-Reply-To: <7v3bsffadn.fsf@assigned-by-dhcp.cox.net> User-Agent: Mutt/1.5.9i Sender: git-owner@vger.kernel.org Precedence: bulk X-Mailing-List: git@vger.kernel.org Hello, > Please see Documentation/diff-format.txt; find the below in the > archive for the full description of why we wanted this format > update. got it thanks. I read that eMail before. But I thought that the tab -> space was a mistake, but it wasn't. So I am fine. I use the following code fragment to match it. Gitweb and co have to be adopted as well: sub process_git_diff_output { my $str = shift || die("Need Input"); my @in = split("\0", $str); my @out = (); while (@in) { my @tmp = split(' ', shift(@in)); push(@tmp, shift(@in), shift(@in)); push(@out, [@tmp]); } return(@out); } Thomas