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