From mboxrd@z Thu Jan 1 00:00:00 1970 From: Junio C Hamano Subject: Re: Implementing branch attributes in git config Date: Tue, 09 May 2006 15:42:25 -0700 Message-ID: <7vu07y252m.fsf@assigned-by-dhcp.cox.net> References: <1147037659.25090.25.camel@dv> <7virogc90u.fsf@assigned-by-dhcp.cox.net> <7v1wv4c7wk.fsf@assigned-by-dhcp.cox.net> <7vzmhr3wje.fsf@assigned-by-dhcp.cox.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: torvalds@osdl.org, junkio@cox.net, Johannes.Schindelin@gmx.de, git@vger.kernel.org X-From: git-owner@vger.kernel.org Wed May 10 00:42:40 2006 Return-path: Envelope-to: gcvg-git@gmane.org Received: from vger.kernel.org ([209.132.176.167]) by ciao.gmane.org with esmtp (Exim 4.43) id 1Fdauc-0005iO-Qh for gcvg-git@gmane.org; Wed, 10 May 2006 00:42:39 +0200 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751321AbWEIWma (ORCPT ); Tue, 9 May 2006 18:42:30 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751328AbWEIWma (ORCPT ); Tue, 9 May 2006 18:42:30 -0400 Received: from fed1rmmtao05.cox.net ([68.230.241.34]:17321 "EHLO fed1rmmtao05.cox.net") by vger.kernel.org with ESMTP id S1751321AbWEIWm2 (ORCPT ); Tue, 9 May 2006 18:42:28 -0400 Received: from assigned-by-dhcp.cox.net ([68.4.9.127]) by fed1rmmtao09.cox.net (InterMail vM.6.01.06.01 201-2131-130-101-20060113) with ESMTP id <20060509224227.LRXE24290.fed1rmmtao09.cox.net@assigned-by-dhcp.cox.net>; Tue, 9 May 2006 18:42:27 -0400 To: sean In-Reply-To: (seanlkml@sympatico.ca's message of "Tue, 9 May 2006 18:09:55 -0400") User-Agent: Gnus/5.110004 (No Gnus v0.4) Emacs/21.4 (gnu/linux) Sender: git-owner@vger.kernel.org Precedence: bulk X-Mailing-List: git@vger.kernel.org Archived-At: sean writes: > The syntax is: > > [] Does this mean you can have anything other than LF and ']'? > Here's how your example would look in this style: > > [email.torvalds@osdl.org] > name = Linus Torvalds How does a program (not a script, but git_config() users) get that value and parse it?