Re: Possible BUG in 'git config'

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 2/11/07, Johannes Schindelin <Johannes.Schindelin@xxxxxx> 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
-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]