From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Noam Postavsky Newsgroups: gmane.emacs.devel Subject: Re: git problems: >78 column commit message created by git revert. I'm stuck. What do I do? Date: Wed, 3 Oct 2018 19:41:17 -0400 Message-ID: References: <20181003124943.GA16238@ACM> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" X-Trace: blaine.gmane.org 1538610023 11949 195.159.176.226 (3 Oct 2018 23:40:23 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 3 Oct 2018 23:40:23 +0000 (UTC) Cc: Emacs developers To: Alan Mackenzie Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Oct 04 01:40:19 2018 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1g7qkd-00031V-H6 for ged-emacs-devel@m.gmane.org; Thu, 04 Oct 2018 01:40:19 +0200 Original-Received: from localhost ([::1]:53569 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1g7qmj-0003c0-Tz for ged-emacs-devel@m.gmane.org; Wed, 03 Oct 2018 19:42:29 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:42355) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1g7qlu-0003bn-Ov for emacs-devel@gnu.org; Wed, 03 Oct 2018 19:41:40 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1g7qlt-0004OM-QG for emacs-devel@gnu.org; Wed, 03 Oct 2018 19:41:38 -0400 Original-Received: from mail-ot1-x329.google.com ([2607:f8b0:4864:20::329]:39953) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1g7qlt-0004JH-DQ for emacs-devel@gnu.org; Wed, 03 Oct 2018 19:41:37 -0400 Original-Received: by mail-ot1-x329.google.com with SMTP id w67so7360510ota.7 for ; Wed, 03 Oct 2018 16:41:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=7hzroUUdV6L96e2EIFKVzWZVqgU7ICuUjRORdkOyTvs=; b=dnN9U7RaNkWHW2q3iFtrg2fEusvPsCWi51briLRx7e6hK+E+DYiABnT/ZZDIJIjL5r GKIIkDCp+L54ysUSeIauwbpzgJ+WfoY9xM7iT3AsBFAIhTjN206/tE5o4d1Ps1WbnC/Z 2vn6sCe1EKB66AoN7VeVQ0idOmBodGtNKI8cGezTHlbEMpKYjGsrhmk0j5U713/W5r/s nQbG6yd+Px/lGBAdbnVo6TBLVHU5/ETIcvjU7bLYnJVeYSWO/Xc1dbGjQyxiWZ2lQiPc 2UWsYJJitWmftCO23f7PxaSwM0XqIatLHLJ7micyJMubjfgcIV7GKcYmneI33qYVFoOT 2DUg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=7hzroUUdV6L96e2EIFKVzWZVqgU7ICuUjRORdkOyTvs=; b=LS25hP6JyNQh8nKqaMRnCi75Dooykqa/lmWbc/cY5IKSe3Cd1THiliBweUGvSVmBKD Ri7chqNDtbUgzyheuOy4oujAFkmCXitbCwOcyF9YeSNsPPg14vnfBp410Gl18ub9o8Ib bKpywv1jIiyXoWu81wvZxlrDRnez0+lqJE0BApMzsPhMcla1/DOzdDlUy+E1vfD6SYWq cGX4SJQf3SoVSnp6SyQ8f+koZPDFEgdZj11rIQeOLJBjgfyLqEmw0I00WT+Qmrsd4VFx DuLi9PepqnAgRckFet51kGjbUwQvTXM+D35WdLZPevZrjqw9QzubyXgqsNetYY5AxzhE SvzA== X-Gm-Message-State: ABuFfojBGGPTvQwXsVM+cwjoMfNRKS+pT74EGxyMYymDtC59tmsAJbdf J9k+2epEYWToMqZIGWGSTa21sePf94v4jztQJDGdwQ== X-Google-Smtp-Source: ACcGV61w5RHNLRMfDT7ofrV19yKqu8mKfzJEqmDImdvM5iYDZMYwe3m4xqPxpHPCgRWDpVpH7Ps4R5hpavqhirGm7ig= X-Received: by 2002:a9d:1e8a:: with SMTP id n10-v6mr2351463otn.50.1538610091187; Wed, 03 Oct 2018 16:41:31 -0700 (PDT) In-Reply-To: <20181003124943.GA16238@ACM> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4864:20::329 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 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" Xref: news.gmane.org gmane.emacs.devel:230213 Archived-At: On Wed, 3 Oct 2018 at 08:56, Alan Mackenzie wrote: > I'd like to use git commit --amend, but this can only change one of the > two commit messages created by git revert. > > How can I resolve this mess? For the record, you can change the messages of multiple previous commits using rebase: git rebase --interactive HEAD~2 This will pop up your $EDITOR. Change the occurrences of "pick" into "reword", then save and exit. You will then be able to edit each commit message in turn (again, in $EDITOR).