From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Ivan Shmakov Newsgroups: gmane.emacs.devel Subject: Re: git push precautions Date: Wed, 28 Jan 2015 19:12:42 +0000 Message-ID: <87bnlilnx1.fsf@violet.siamics.net> 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> <87mw52pwka.fsf@fencepost.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 1422472387 21174 80.91.229.3 (28 Jan 2015 19:13:07 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 28 Jan 2015 19:13:07 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Jan 28 20:13:00 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 1YGY2r-0003np-TW for ged-emacs-devel@m.gmane.org; Wed, 28 Jan 2015 20:12:58 +0100 Original-Received: from localhost ([::1]:55503 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YGY2r-0005Zq-4m for ged-emacs-devel@m.gmane.org; Wed, 28 Jan 2015 14:12:57 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:46048) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YGY2o-0005Zh-0g for emacs-devel@gnu.org; Wed, 28 Jan 2015 14:12:54 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YGY2m-0005nr-Ps for emacs-devel@gnu.org; Wed, 28 Jan 2015 14:12:53 -0500 Original-Received: from fely.am-1.org ([2a01:4f8:d15:1b86::2]:36578) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YGY2m-0005nK-JK for emacs-devel@gnu.org; Wed, 28 Jan 2015 14:12:52 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=siamics.net; s=a2013295; h=Content-Transfer-Encoding:Content-Type:MIME-Version:Message-ID:In-Reply-To:Date:Sender:References:Subject:To:From; bh=fcVOHhs22H4K6kjZiEnFxFRPRTk1BYGugv8hkl2r4Gg=; b=pzKnVJD7Osz580QWik6i/R/NmCuo95Rnc1KFAoYrP+UBEdfIPZ/om8BhNFS0iFz5PHcdFmeFuk/S5thABPgCTpEHs/Ssbz/VxrTjGKnMxslLEX43RPsBMnEEAobGOyLACLzq1+ioshJ6iQEmoKLAHvlo8cR2+a9GHKCLht8zz6A=; Original-Received: from [2a02:2560:6d4:26ca::1:1d] (helo=violet.siamics.net) by fely.am-1.org with esmtps (TLS1.2:DHE_RSA_AES_128_CBC_SHA1:128) (Exim 4.80) (envelope-from ) id 1YGY2k-0003LF-Kj for emacs-devel@gnu.org; Wed, 28 Jan 2015 19:12:51 +0000 Original-Received: from localhost ([::1] helo=violet.siamics.net) by violet.siamics.net with esmtps (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.80) (envelope-from ) id 1YGY2d-0004tR-9Y for emacs-devel@gnu.org; Thu, 29 Jan 2015 02:12:43 +0700 Mail-Followup-To: emacs-devel@gnu.org In-Reply-To: (Kelvin White's message of "Wed, 28 Jan 2015 18:57:49 +0000") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a01:4f8:d15:1b86::2 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:181932 Archived-At: >>>>> Kelvin White writes: >>>>> On Wed, Jan 28, 2015, 1:52 PM David Kastrup wrote: >>>>> Eli Zaretskii writes: >>>>> From: Ivan Shmakov Date: Wed, 28 Jan 2015 18:30:57 +0000 >>>> My preference is rather =E2=80=98push.default nothing=E2=80=99, so th= at >>>> 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. > I just use `git diff' before every push to see exactly what I'm > pushing, I=E2=80=99d generally use $ git log -p origin/branch branch instead, so that I can review the individual changes, =E2=80=93 as well as the commit messages. > and I always specify the remote repo i. e. `git push origin master' So do I. And when one does, I=E2=80=99d say that that preference /is/ justified. [=E2=80=A6] --=20 FSF associate member #7257 http://boycottsystemd.org/ =E2=80=A6 3013 B6A0= 230E 334A