From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Robert Pluim Newsgroups: gmane.emacs.devel Subject: Re: git history tracking across renames (and emacs support) Date: Thu, 12 Jul 2018 18:48:46 +0200 Message-ID: <87muuwo0wh.fsf@gmail.com> References: <87y3li4vh7.fsf@telefonica.net> <87efnan46u.fsf@linux-m68k.org> <86wp12qtgo.fsf@dod.no> <83tvw6chqv.fsf@gnu.org> <86shbprix7.fsf_-_@dod.no> <838t6jgl1k.fsf@gnu.org> <601m6cc6.fsf@lifelogs.com> <83o9fefnv9.fsf@gnu.org> <83in5lg4ol.fsf@gnu.org> <83efg9fxnj.fsf@gnu.org> <877em078mz.fsf@tcd.ie> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1531414084 11830 195.159.176.226 (12 Jul 2018 16:48:04 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 12 Jul 2018 16:48:04 +0000 (UTC) Cc: emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Jul 12 18:48:00 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 1fdel5-0002wk-QQ for ged-emacs-devel@m.gmane.org; Thu, 12 Jul 2018 18:47:59 +0200 Original-Received: from localhost ([::1]:33089 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fdenC-000728-NE for ged-emacs-devel@m.gmane.org; Thu, 12 Jul 2018 12:50:10 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:34158) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fdely-0006AU-Up for emacs-devel@gnu.org; Thu, 12 Jul 2018 12:48:55 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fdelt-0000cD-VG for emacs-devel@gnu.org; Thu, 12 Jul 2018 12:48:54 -0400 Original-Received: from mail-ed1-x52d.google.com ([2a00:1450:4864:20::52d]:33676) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fdelt-0000aq-MR for emacs-devel@gnu.org; Thu, 12 Jul 2018 12:48:49 -0400 Original-Received: by mail-ed1-x52d.google.com with SMTP id x5-v6so18726872edr.0 for ; Thu, 12 Jul 2018 09:48:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:mail-followup-to:mail-copies-to :gmane-reply-to-list:date:in-reply-to:message-id:mime-version :content-transfer-encoding; bh=+J7TYVsa/v+/KzxDClomVEn2tytb7lALhJ1OjSWZ7q8=; b=fSN9q/Ue/depCmjUQPDqswdWmbHdAm6ibrFhS8NsZgLem/CsS1ABka4qRJuRTapaZX QPxytSfVuU12zYuQiar9VC6RJAKmVSpDCivy2Ii7H4xUBigSmlXWB7k80C+RnFbucgzj +a5a0q+E/F7umVdrYbsQPysqRl1vgQTUxnIvtApnm8wK4SGJov9uRYlilOyJOn7o/RVG FhP4N5Tqnm/yf1/fY1F15zRk2sN1svPewOoNIBjlrXeAU9ENmme4y4KUIXapoVbnd+q7 tq5hKCHDZuFQHBRDjqLLapZjj6S2acqlqo7VSp4zIJmVSnGOHRxVi0meegqO81c+bu3C brKA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:mail-followup-to :mail-copies-to:gmane-reply-to-list:date:in-reply-to:message-id :mime-version:content-transfer-encoding; bh=+J7TYVsa/v+/KzxDClomVEn2tytb7lALhJ1OjSWZ7q8=; b=tHcDaDQ0NgwVxV2m5TVwJWVsq0JD7veKmIaWEYAPF5q8J73Pyzwor/VVeujxwQJF/l Wud/NQDVuEp3V+kIqjLlvAaPQ7i6mwWsuEJE1c+BNh6rHZ1iejWlZd847RIcHwEPacsJ Vc4DuF/VhcmQHjxQmTbJ3obnxRnSDqPe5FSxupZJFOjYurt+ItwVR+xKtmOMx/GCUMJH y8TZtrB8xjCMcxsXzfZ5wygsd144I9FBFcv82WD2TAtB3u9glnvX05p5AyTuUgyiw0dn M4qDawr2C/8vvzzyq+WGTBogd4v63DSTE9daosH2ZlhNPYbWRoOhsx3IAJF8L3jJdBRO h9eQ== X-Gm-Message-State: AOUpUlEJ67nTZG0kigKIC2G/UJ39pDxLcUg0jttEYpYiSqGIp2fna1XJ ePNGNPoLQ70h1x3oI2CShSiUJUb8 X-Google-Smtp-Source: AAOMgpeRXc4HZkqgDjp5yWKrKLWMvlNqrvOP98uz3tdKbYyR4X44UvUb3VDQ6xx74NHQrd1aUtDU5w== X-Received: by 2002:a50:8748:: with SMTP id 8-v6mr3368340edv.13.1531414128290; Thu, 12 Jul 2018 09:48:48 -0700 (PDT) Original-Received: from rpluim ([149.5.228.1]) by smtp.gmail.com with ESMTPSA id j34-v6sm11918813edd.2.2018.07.12.09.48.47 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 12 Jul 2018 09:48:47 -0700 (PDT) Mail-Followup-To: emacs-devel@gnu.org Mail-Copies-To: never Gmane-Reply-To-List: yes In-Reply-To: (Stefan Monnier's message of "Thu, 12 Jul 2018 12:00:43 -0400") X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:4864:20::52d 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:227285 Archived-At: Stefan Monnier writes: >>> Maybe another take on it is to use a "hidden" ChangeLog file, saved >>> somewhere in ~/.emacs.d, indexed by the project location and with some >>> way to recover some earlier commit message you worked on and had >>> to abandon? >> Like a more persistent and/or VCS-agnostic "${GIT_DIR}/COMMIT_EDITMSG"? > > I think so, yes (and one which allows several messages to be kept). This sounds very much like a file :-) I just put messages in ChangeLog with C-x 4 a , vc-dir automatically pulls those into the commit message, and then any subsequent amending I do via magit's commit interface. It would be nice if the 'C' command in magit worked better, I don=CA=BCt think it has a 'apply to all diffs' mode. Robert