From: Matthieu Moy <Matthieu.Moy@grenoble-inp.fr>
To: Junio C Hamano <gitster@pobox.com>
Cc: git@vger.kernel.org
Subject: Re: [PATCH] push: start warning upcoming default change for push.default
Date: Wed, 20 Jun 2012 21:45:33 +0200 [thread overview]
Message-ID: <vpqwr317oo2.fsf@bauges.imag.fr> (raw)
In-Reply-To: <7va9zxvkyp.fsf@alter.siamese.dyndns.org> (Junio C. Hamano's message of "Wed, 20 Jun 2012 12:31:42 -0700")
Junio C Hamano <gitster@pobox.com> writes:
>> 3) Set push.default to 'current', in which case they have the same
>> behavior as 'simple', except for the safety feature of 'simple'
>> (refuse to push when the name doesn't match the upstream). They can't
>> expect anything better anyway since they are sometimes using a
>> machine which doesn't support 'simple' anyway.
>
> And they will be frozen to 'current' even after their sysadmins
> update the version of git that support 'simple'.
And so what? They will miss the safety feature of 'simple', but that's
not really a big deal.
'simple' was not really designed to be _better_ than current or
upstream, but to be more adapted as a default value, because 1) it's
safer, so nice for beginners and 2) follows the least surprise
principle, as it does nothing in cases where there would be an
ambiguity. But once you're not really a beginner, the added value of
'simple' is really small compared to 'current' or 'upstream'.
> Telling somebody who would blindly follow what was suggested to use
> 'current' is what bothers me.
But what alternative do we have?
You suggest that I remove the mention of 'current', but then what should
users do? Removing it sounds like replacing it with "if you sometimes
use older versions of Git, you're doomed, sorry" to me.
--
Matthieu Moy
http://www-verimag.imag.fr/~moy/
next prev parent reply other threads:[~2012-06-20 19:45 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-06-19 23:46 What's cooking in git.git (Jun 2012, #05; Tue, 19) Junio C Hamano
2012-06-20 12:35 ` [PATCH] push: start warning upcoming default change for push.default Matthieu Moy
2012-06-20 17:55 ` Junio C Hamano
2012-06-20 18:24 ` Matthieu Moy
2012-06-20 19:31 ` Junio C Hamano
2012-06-20 19:45 ` Matthieu Moy [this message]
2012-06-20 19:51 ` Junio C Hamano
2012-06-21 15:50 ` Matthieu Moy
2012-06-21 17:00 ` Junio C Hamano
2012-06-21 17:08 ` Matthieu Moy
2012-06-21 17:21 ` Junio C Hamano
2012-06-21 17:46 ` Junio C Hamano
2012-06-22 7:57 ` Matthieu Moy
2012-06-22 17:48 ` Junio C Hamano
2012-06-24 11:01 ` Matthieu Moy
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=vpqwr317oo2.fsf@bauges.imag.fr \
--to=matthieu.moy@grenoble-inp.fr \
--cc=git@vger.kernel.org \
--cc=gitster@pobox.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.