From mboxrd@z Thu Jan 1 00:00:00 1970 From: Junio C Hamano Subject: Re: [PATCH] config: read system-wide defaults from /etc/gitconfig Date: Wed, 14 Feb 2007 08:30:51 -0800 Message-ID: <7vfy98snus.fsf@assigned-by-dhcp.cox.net> References: <200702140909.28369.andyparkins@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: QUOTED-PRINTABLE Cc: Peter Baumann , Andy Parkins , junkio@cox.net, git@vger.kernel.org To: Johannes Schindelin X-From: git-owner@vger.kernel.org Wed Feb 14 17:30:56 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 1HHN20-0004Dd-8E for gcvg-git@gmane.org; Wed, 14 Feb 2007 17:30:56 +0100 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932367AbXBNQax convert rfc822-to-quoted-printable (ORCPT ); Wed, 14 Feb 2007 11:30:53 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S932370AbXBNQax (ORCPT ); Wed, 14 Feb 2007 11:30:53 -0500 Received: from fed1rmmtao104.cox.net ([68.230.241.42]:36399 "EHLO fed1rmmtao104.cox.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932367AbXBNQax convert rfc822-to-8bit (ORCPT ); Wed, 14 Feb 2007 11:30:53 -0500 Received: from fed1rmimpo02.cox.net ([70.169.32.72]) by fed1rmmtao104.cox.net (InterMail vM.7.05.02.00 201-2174-114-20060621) with ESMTP id <20070214163053.ERXL22948.fed1rmmtao104.cox.net@fed1rmimpo02.cox.net>; Wed, 14 Feb 2007 11:30:53 -0500 Received: from assigned-by-dhcp.cox.net ([68.5.247.80]) by fed1rmimpo02.cox.net with bizsmtp id PUWr1W0101kojtg0000000; Wed, 14 Feb 2007 11:30:52 -0500 In-Reply-To: (Johannes Schindelin's message of "Wed, 14 Feb 2007 12:48:14 +0100 (CET)") User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/21.4 (gnu/linux) Sender: git-owner@vger.kernel.org Precedence: bulk X-Mailing-List: git@vger.kernel.org Archived-At: Johannes Schindelin writes: > The settings in /etc/gitconfig can be overridden in ~/.gitconfig, > which in turn can be overridden in .git/config. > > Signed-off-by: Johannes Schindelin > --- > ... > Voil=C3=A0. I knew this can be done, and you are capable of doing this, but I was wondering if it is a good thing to do in the first place. Site-wide configuration for options that are potentially compatibility-breaking is a bad idea on a multi-user machines, and it was certainly the case back when our machines hosted many diverse set of people. But these days many machines are practically single-user and many more are owned by a single group/project that share the same policy. So in such a setting, /etc/gitconfig might not be too bad. =20