From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: David Kastrup Newsgroups: gmane.emacs.devel Subject: Re: git push precautions Date: Wed, 28 Jan 2015 19:52:21 +0100 Message-ID: <87mw52pwka.fsf@fencepost.gnu.org> References: <20150128032211.21589.96959@vcs.savannah.gnu.org> <87mw53zijz.fsf@building.gnus.org> <54C883B8.6050506@cs.ucla.edu> <87twzbv1x0.fsf@building.gnus.org> <54C88CB2.1030608@cs.ucla.edu> <87iofrv0as.fsf@building.gnus.org> <87a913uzt5.fsf@building.gnus.org> <83mw52or5g.fsf@gnu.org> <87oapilpum.fsf_-_@violet.siamics.net> <83bnlioify.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1422471160 31977 80.91.229.3 (28 Jan 2015 18:52:40 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 28 Jan 2015 18:52:40 +0000 (UTC) Cc: Ivan Shmakov , emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Jan 28 19:52:40 2015 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1YGXjD-0004pg-LQ for ged-emacs-devel@m.gmane.org; Wed, 28 Jan 2015 19:52:39 +0100 Original-Received: from localhost ([::1]:55455 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YGXjD-000536-7I for ged-emacs-devel@m.gmane.org; Wed, 28 Jan 2015 13:52:39 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:41003) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YGXiz-00052i-Lk for emacs-devel@gnu.org; Wed, 28 Jan 2015 13:52:26 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YGXiy-0006W1-GU for emacs-devel@gnu.org; Wed, 28 Jan 2015 13:52:25 -0500 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:33468) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YGXiy-0006Vx-Cm for emacs-devel@gnu.org; Wed, 28 Jan 2015 13:52:24 -0500 Original-Received: from localhost ([127.0.0.1]:40644 helo=lola) by fencepost.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YGXiv-0005LZ-T3; Wed, 28 Jan 2015 13:52:22 -0500 Original-Received: by lola (Postfix, from userid 1000) id 5D9EDDF6AB; Wed, 28 Jan 2015 19:52:21 +0100 (CET) In-Reply-To: <83bnlioify.fsf@gnu.org> (Eli Zaretskii's message of "Wed, 28 Jan 2015 20:42:41 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::e X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:181929 Archived-At: Eli Zaretskii writes: >> From: Ivan Shmakov >> Date: Wed, 28 Jan 2015 18:30:57 +0000 >>=20 >> My preference is rather =E2=80=98push.default nothing=E2=80=99, so that >> git-push(1) fails loudly should I fail to specify what to push. > > IMO (and IME) that's a nuisance that isn't justified. git's defaults have historically been so unreasonable that I never push without explicit mention of both local as well as target reference. It decidedly is less of a nuisance than having to clean up after Git goes overboard. Nowadays the defaults may be saner (and the setting configurable in the first place). Still, the "nuisance" is comparatively small, and in exchange you know just what _any_ version of Git will do. And if you quote your process, nobody will get double-crossed by following your example. --=20 David Kastrup