commit | 84b4202d804c7faec76f3eab22744b6288c63481 | [log] [tgz] |
---|---|---|
author | Junio C Hamano <gitster@pobox.com> | Mon Jun 24 11:41:40 2013 -0700 |
committer | Junio C Hamano <gitster@pobox.com> | Mon Jun 24 12:49:53 2013 -0700 |
tree | 153bb40aa5ef37955e39a70cbb3365576843bc64 | |
parent | f0915cbaf476d63f72c284057680809ed24fbe0d [diff] |
status/commit: make sure --porcelain is not affected by user-facing config The recent addition of status.branch started affecting what is shown when "git status --porcelain" is run by mistake. Identify the configuration items that should be ignored under "--porcelain" option, introduce a "deferred config" mechanism to keep the values read from the configuration, and decide what value to use only after we read both from configuration and command line. Signed-off-by: Junio C Hamano <gitster@pobox.com>