From: Marco Costalba Date: Sun, 11 Feb 2007 17:47:53 GMT Subject: Re: Possible BUG in 'git config' Message-ID: In-Reply-To: On 2/11/07, Johannes Schindelin wrote: > > Yes, this is probably a bug. But it's obvious that if git-config _without_ > --global would _not_ use ~/.gitconfig, that would rather make ~/.gitconfig > pointless, wouldn't it? > Yes. > So yes, the description should mention that this is meant for the case of > _setting_ variables, not _querying_ variables. The original poster (Sean) > probaly though -- IMHO correctly -- that querying with --global makes no > sense. > Yes. It makes non sense but it' allowed. So probably, at least for consistency, could exists a query without silent fallback. Something like git repo-config --local user.name Marco