summaryrefslogtreecommitdiff
path: root/submodule-config.c
diff options
context:
space:
mode:
authorMatthieu Moy <Matthieu.Moy@imag.fr>2016-02-25 09:21:59 (GMT)
committerJunio C Hamano <gitster@pobox.com>2016-02-25 17:56:42 (GMT)
commit2f275207ce9c8f6a03efa4fbd7c68d0e0b3e449c (patch)
tree872f6e1f3f8203f61c81f6ef4efa7129bf3e9ebd /submodule-config.c
parent7c0da37d7b0e09c199788191b322bf45fd003e3c (diff)
downloadgit-2f275207ce9c8f6a03efa4fbd7c68d0e0b3e449c.zip
git-2f275207ce9c8f6a03efa4fbd7c68d0e0b3e449c.tar.gz
git-2f275207ce9c8f6a03efa4fbd7c68d0e0b3e449c.tar.bz2
push: remove "push.default is unset" warning message
The warning was important before the 2.0 transition, and remained important for a while after, so that new users get push.default explicitly in their configuration and do not experience inconsistent behavior if they ever used an older version of Git. The warning has been there since version 1.8.0 (Oct 2012), hence we can expect the vast majority of current Git users to have been exposed to it, and most of them have already set push.default explicitly. The switch from 'matching' to 'simple' was planned for 2.0 (May 2014), but actually happened only for 2.3 (Feb 2015). Today, the warning is mostly seen by beginners, who have not set their push.default configuration (yet). For many of them, the warning is confusing because it talks about concepts that they have not learned and asks them a choice that they are not able to make yet. See for example http://stackoverflow.com/questions/13148066/warning-push-default-is-unset-its-implicit-value-is-changing-in-git-2-0 (1260 votes for the question, 1824 for the answer as of writing) Remove the warning completely to avoid disturbing beginners. People who still occasionally use an older version of Git will be exposed to the warning through this old version. Eventually, versions of Git without the warning will be deployed enough and tutorials will not need to advise setting push.default anymore. Signed-off-by: Matthieu Moy <Matthieu.Moy@imag.fr> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'submodule-config.c')
0 files changed, 0 insertions, 0 deletions