On 14 April 2013 22:56, Sebastian Schuberth <sschube...@gmail.com> wrote: >> The closest thing I can see for doing this is git config --list, but >> perhaps there should be a flag to check if a config item is set? > > Yet more command line options? Well, there's probably no way around > that in order to maintain backward compatibility.
'--list' already exists; it shows all defined options. With your change in place (and no others) then the only (documented) way to know if something was configured would be by looking at git config --list. Changing the default behaviour is probably too big a breaking change, but a flag to change the behaviour might be nice. Then again, there may be away to do what you want already :-) Regards, Andrew Ardill -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html