From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Dmitry Gutov Newsgroups: gmane.emacs.devel Subject: Re: New Git hooks for checking file names in commit messages Date: Sun, 23 Apr 2023 02:55:14 +0300 Message-ID: References: <838rel46ou.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="9167"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.10.0 Cc: jporterbugs@gmail.com, emacs-devel@gnu.org To: Eli Zaretskii , Alan Mackenzie Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sun Apr 23 01:56:09 2023 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1pqN5L-0002B6-EW for ged-emacs-devel@m.gmane-mx.org; Sun, 23 Apr 2023 01:56:08 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pqN4g-0007K8-Ul; Sat, 22 Apr 2023 19:55:26 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pqN4f-0007Jx-G5 for emacs-devel@gnu.org; Sat, 22 Apr 2023 19:55:25 -0400 Original-Received: from new2-smtp.messagingengine.com ([66.111.4.224]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pqN4a-0007XP-Cn; Sat, 22 Apr 2023 19:55:25 -0400 Original-Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailnew.nyi.internal (Postfix) with ESMTP id 47192582071; Sat, 22 Apr 2023 19:55:17 -0400 (EDT) Original-Received: from mailfrontend1 ([10.202.2.162]) by compute5.internal (MEProxy); Sat, 22 Apr 2023 19:55:17 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gutov.dev; h=cc :cc:content-transfer-encoding:content-type:content-type:date :date:from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:sender:subject:subject:to:to; s=fm2; t= 1682207717; x=1682211317; bh=5KfWaNu1hew+puClCXZuU1XSYTUCu7WCBgX Nibq+uoc=; b=p2MCwjwuZkquBNgFy6pDpQP9dWDhO/ZLQUvXp1x2HRkJfZj1CLZ 75AExwI4uklJAjYRklAmIFPb+ClbZlxQSXcQm42NNWmS1wmSWItS7GB5d49g5kHH zQDp9iPB5F5veLDckcE2vkQZm8xQMoGF7xhsEJq9l4vEqo1sKkGK3D6hi9okdHST YoGacUSn7q++lsHGsxyYx0KEjvOerk52viepaY4mrx1RLjL6p/SJAK+l2BVtRRCR 0vdNzXxNC7MHSjOCU3Jpt/nyX7j2Nie3NEXTLOWCRUBuqCuXj5GjdgiaLUwt05EQ CVZ+GoXOHr+6niAeNpYi+7rx4YGxkv1i0rQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:feedback-id:feedback-id :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:sender:subject:subject:to:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm3; t= 1682207717; x=1682211317; bh=5KfWaNu1hew+puClCXZuU1XSYTUCu7WCBgX Nibq+uoc=; b=IEl/5NSGfcKt9+92bWn29MXvHiYVdyXAzQKqhBZ3ujq+Ld/1GdP +sDCHnIy39ZFB901PZbyZgYapls2d9xAxf1c6qIxSfZ68NiXt0pF2LypHRT0xgwX m8zBtUiw4XEedZZtO9NZfeG3xjwAmkX/Mngh++n13Y1+uR4e9PNpLkLfDmHb8gmk ybB2dNLaX0C0n08y/fQGbO2iCZPzPN0LeZo87bZ3C6UrQzEcbusVH2Ufy/QvnlcI To3LOHuSRBAibmE+qK7eOm70fKP9FKBYgUxe6NC6cGKhkDA095U8u+IsdqxvdWXq 5ldD4tcwmetE7ku3xQeA7uK66wCpybU2FWA== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvhedrfedtjedgvdelucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepkfffgggfuffvvehfhfgjtgfgsehtjeertddtfeejnecuhfhrohhmpeffmhhi thhrhicuifhuthhovhcuoegumhhithhrhiesghhuthhovhdruggvvheqnecuggftrfgrth htvghrnhepiefgteevheevveffheeltdeukeeiieekueefgedugfefgefhudelgfefveel vdevnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepug hmihhtrhihsehguhhtohhvrdguvghv X-ME-Proxy: Feedback-ID: i0e71465a:Fastmail Original-Received: by mail.messagingengine.com (Postfix) with ESMTPA; Sat, 22 Apr 2023 19:55:15 -0400 (EDT) Content-Language: en-US In-Reply-To: <838rel46ou.fsf@gnu.org> Received-SPF: pass client-ip=66.111.4.224; envelope-from=dmitry@gutov.dev; helo=new2-smtp.messagingengine.com X-Spam_score_int: -48 X-Spam_score: -4.9 X-Spam_bar: ---- X-Spam_report: (-4.9 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, NICE_REPLY_A=-2.047, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 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-mx.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:305590 Archived-At: On 21/04/2023 18:05, Eli Zaretskii wrote: > It is still helpful, because as long as you didn't push, you can still > do > > $ git reset HEAD^ > > and then fix whatever needs fixing and commit again. When only the commit message is problematic, git commit --amend is usually a more ergonomic choice.