From: Junio C Hamano Date: Tue, 24 Apr 2007 05:59:19 GMT Subject: Re: [PATCH] Only use ETC_GITCONFIG=$(prefix)/etc/gitconfig ifeq ($(prefix),$(HOME)) Message-ID: <7vlkgi9utk.fsf@assigned-by-dhcp.cox.net> In-Reply-To: <462D9938.8020206@freedesktop.org> Josh Triplett writes: > Junio C Hamano wrote: >> Is this really necessary? >> >> I personally think distro people (or anybody who configures git >> for system-wide deployment for that matter) already has Makefile >> wrapper (a la debian/rules) to take care of this and other >> issues. > > So did I. Then I noticed (while stracing git to diagnose the issue with > git-add searching the whole working copy for .gitignore files) that the > Debian-packaged git looked for /usr/etc/gitconfig. See > . Apparently few enough people use > /etc/gitconfig that nobody noticed and reported that it didn't work. :) > > Why not make the defaults more resistant to broken configuration? Hmm. It's tempting to leave this as is to gauge which distribution has more competent package maintainer and which ones have sloppy ones ;-). Sympathetic, but still not entirely convinced.