From: Junio C Hamano Date: Thu, 08 Jun 2006 16:25:53 GMT Subject: Re: [PATCH 2/2] repo-config: learn the flag "--no-local" Message-ID: <7v1wtzaa26.fsf@assigned-by-dhcp.cox.net> In-Reply-To: Johannes Schindelin writes: >> Johannes Schindelin wrote: > On Thu, 8 Jun 2006, Lukas Sandström wrote: >> > Since there is a global config now, we need a way to access it >> > conveniently. Now you can say >> > >> > git repo-config --no-local alias.l "log --stat -M ORIG_HEAD.." >> > >> > to set the alias globally (it will be stored in ~/.gitconfig). >> >> Wouldn't it make more sense to call the flag --global ? > > Sure, why not? Other opinions? (I will not add a test case until this is > resolved! ;-) The wording "--no-local" means you are looking at things relative to a particular repository. I.e. some configuration variables come from repository-local file, and others from somewhere else. But I do not think that somewhere else is "global". We are reading from $HOME, which is different depending on who is interacting with that same repository. So I would probably call the other one "--user" or something if I were force to pick name. But as you know, I am horrible at picking names, so please don't stop this from coming up with a good name the list can agree upon.