From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Amending commits Date: Mon, 26 Sep 2022 14:38:25 +0300 Message-ID: <83bkr2l61a.fsf@gnu.org> References: <87h70vbw2f.fsf@gnus.org> <877d1ru3rd.fsf@posteo.net> <87czbjbs4r.fsf@gnus.org> <834jwvmu84.fsf@gnu.org> <87mtama031.fsf@gnus.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="26044"; mail-complaints-to="usenet@ciao.gmane.io" Cc: philipk@posteo.net, Emacs-devel@gnu.org To: Lars Ingebrigtsen Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Mon Sep 26 13:55:39 2022 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 1ocmi3-0006aU-CM for ged-emacs-devel@m.gmane-mx.org; Mon, 26 Sep 2022 13:55:39 +0200 Original-Received: from localhost ([::1]:59136 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ocmi2-0001rO-9R for ged-emacs-devel@m.gmane-mx.org; Mon, 26 Sep 2022 07:55:38 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:35242) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ocmRg-0006FD-M1 for Emacs-devel@gnu.org; Mon, 26 Sep 2022 07:38:56 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:45372) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ocmRc-00038x-LM; Mon, 26 Sep 2022 07:38:43 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=asPoT4Nt/SxabsO1DOlHMIjKHfktNFEPpVt0R4aP2tM=; b=Naau9WZC13fo FihAKj4+6wTY4ABjKYltBJLaKy3MyrPnHkkGO5FrphPDVCYfgn6A/WDBFNZrGByZ6iBkW7dxQOPZv go/9cmC3m8CPuIHLNTRoXJgkBZJJ1PrBUY0yYF2fTJodJkUr0iV9dcr6+Y17RNgO9XYtRNXXshz8t POHDTD93+yZ4DURHiGhqi6Bhcxo1Jy+lv3ltyXu0giJTPo3ZnZqhK9uZYVS9nI7/NQPtjrJ+ZXG4l sziChsopWa/rcldwYZwS9JgTkPUSzZjC5iZVi4xIdO3Z7h1tY9RLMdet/B+NnLcDlKp7qojXRT2Zp Pvl2BIVmEFr92hDZ0euSbw==; Original-Received: from [87.69.77.57] (port=4165 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ocmRW-0006qb-La; Mon, 26 Sep 2022 07:38:39 -0400 In-Reply-To: <87mtama031.fsf@gnus.org> (message from Lars Ingebrigtsen on Mon, 26 Sep 2022 12:42:26 +0200) 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" Xref: news.gmane.io gmane.emacs.devel:296279 Archived-At: > From: Lars Ingebrigtsen > Cc: philipk@posteo.net, Emacs-devel@gnu.org > Date: Mon, 26 Sep 2022 12:42:26 +0200 > > Eli Zaretskii writes: > > >> Yes. My use case is "git am" and then I want to add the bug# to the > >> commit message -- and in that case, I don't have a log-edit buffer at > >> all. > > > > Can't you set vc-checkin-switches to "--amend" and then commit? > > I'm not sure what you mean. How would that help with "git am"? You do "git am" followed by a vc-checkin with --amend switch. vc-checkin does let you edit the log message in a log-edit buffer, doesn't it? Or was that not your use case? If so, what was it?