From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Florian Lindner Newsgroups: gmane.emacs.help Subject: Re: magit: Previous commit message keeps appearing Date: Thu, 07 Aug 2014 19:01:22 +0200 Message-ID: References: <53E360F5.9030801@gmail.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 7Bit X-Trace: ger.gmane.org 1407430943 24915 80.91.229.3 (7 Aug 2014 17:02:23 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 7 Aug 2014 17:02:23 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Aug 07 19:02:16 2014 Return-path: Envelope-to: geh-help-gnu-emacs@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 1XFR4v-0004zd-FP for geh-help-gnu-emacs@m.gmane.org; Thu, 07 Aug 2014 19:02:13 +0200 Original-Received: from localhost ([::1]:47471 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XFR4v-0002JV-4Y for geh-help-gnu-emacs@m.gmane.org; Thu, 07 Aug 2014 13:02:13 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:38478) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XFR4d-0002JH-EI for help-gnu-emacs@gnu.org; Thu, 07 Aug 2014 13:02:02 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XFR4V-0005pz-Uy for help-gnu-emacs@gnu.org; Thu, 07 Aug 2014 13:01:55 -0400 Original-Received: from plane.gmane.org ([80.91.229.3]:33059) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XFR4V-0005pt-Ov for help-gnu-emacs@gnu.org; Thu, 07 Aug 2014 13:01:47 -0400 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1XFR4U-0004LE-6C for help-gnu-emacs@gnu.org; Thu, 07 Aug 2014 19:01:46 +0200 Original-Received: from hsi-kbw-37-49-87-80.hsi14.kabel-badenwuerttemberg.de ([37.49.87.80]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 07 Aug 2014 19:01:46 +0200 Original-Received: from mailinglists by hsi-kbw-37-49-87-80.hsi14.kabel-badenwuerttemberg.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 07 Aug 2014 19:01:46 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 28 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: hsi-kbw-37-49-87-80.hsi14.kabel-badenwuerttemberg.de User-Agent: KNode/4.13.3 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:99118 Archived-At: Quanyang Liu wrote: > On 08/07/2014 06:56 PM, Florian Lindner wrote: >> Hello, >> >> from magit-status I use s to stage a couple of files, then "c c" to >> commit. In another buffer I can edit the commit message. What puzzles me, >> is why magit shows the commit message of the previous commit including >> the file list. >> >> Is this by design, some bug or am I wrong? >> >> Emacs 24.3, magit from melpa. >> >> Thanks, >> Florian >> >> > I have not seen that... Does it happen every time you commit? Sebastian has explained it very well. I had a COMMIT_EDITMSG in my .git directory. Since I was a kind of scared when this wrong commit message appeared I always canceled the commit und the MSG persisted. Now I've deleted the COMMIT_EDITMSG and did various successfull commits. It never came back. Regards, Florian