From mboxrd@z Thu Jan 1 00:00:00 1970 From: Frank Lichtenheld Subject: Re: [PATCH/RFC] config: Add --null/-z option for null-delimted output Date: Tue, 19 Jun 2007 17:21:40 +0200 Message-ID: <20070619152139.GF19725@planck.djpig.de> References: <11821227322913-git-send-email-frank@lichtenheld.de> <7v645kyba8.fsf@assigned-by-dhcp.pobox.com> <20070619021252.GE19725@planck.djpig.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Junio C Hamano , Git Mailing List , Jakub Narebski To: Johannes Schindelin X-From: git-owner@vger.kernel.org Tue Jun 19 17:21:57 2007 Return-path: Envelope-to: gcvg-git@gmane.org Received: from vger.kernel.org ([209.132.176.167]) by lo.gmane.org with esmtp (Exim 4.50) id 1I0fWk-0000gW-UH for gcvg-git@gmane.org; Tue, 19 Jun 2007 17:21:55 +0200 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752717AbXFSPVt (ORCPT ); Tue, 19 Jun 2007 11:21:49 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752661AbXFSPVt (ORCPT ); Tue, 19 Jun 2007 11:21:49 -0400 Received: from planck.djpig.de ([85.10.192.180]:1643 "EHLO planck.djpig.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752625AbXFSPVs (ORCPT ); Tue, 19 Jun 2007 11:21:48 -0400 Received: from localhost (localhost [127.0.0.1]) by planck.djpig.de (Postfix) with ESMTP id 6229C88102; Tue, 19 Jun 2007 17:21:46 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at planck.djpig.de Received: from planck.djpig.de ([127.0.0.1]) by localhost (planck.djpig.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id W5zizCUoiqjS; Tue, 19 Jun 2007 17:21:41 +0200 (CEST) Received: by planck.djpig.de (Postfix, from userid 1000) id DADD188105; Tue, 19 Jun 2007 17:21:40 +0200 (CEST) Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.13 (2006-08-11) Sender: git-owner@vger.kernel.org Precedence: bulk X-Mailing-List: git@vger.kernel.org Archived-At: On Tue, Jun 19, 2007 at 12:09:18PM +0100, Johannes Schindelin wrote: > Okay, good point. But of course, you have to use a delimiter for the key > name that cannot be part of the keyname. You picked '\n'. The original was > '='. Both work. No, they actually don't. Example: $ cat .git/config [foo "bar=baz"] key = value [foo] key = key=value $ git config -l foo.bar=baz.key=value foo.key=key=value So how do I parse that? Gruesse, -- Frank Lichtenheld www: http://www.djpig.de/