From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/70056 Path: news.gmane.org!not-for-mail From: Ted Zlatanov Newsgroups: gmane.emacs.gnus.general Subject: Re: Git commit methodology Date: Mon, 30 Aug 2010 08:48:13 -0500 Organization: =?utf-8?B?0KLQtdC+0LTQvtGAINCX0LvQsNGC0LDQvdC+0LI=?= @ Cienfuegos Message-ID: <87pqx0p5ya.fsf@lifelogs.com> References: <87aao4qlas.fsf@lifelogs.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1283176533 4634 80.91.229.12 (30 Aug 2010 13:55:33 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 30 Aug 2010 13:55:33 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M18441@lists.math.uh.edu Mon Aug 30 15:55:32 2010 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from util0.math.uh.edu ([129.7.128.18]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Oq4pf-0003Bw-EZ for ding-account@gmane.org; Mon, 30 Aug 2010 15:55:31 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by util0.math.uh.edu with smtp (Exim 4.63) (envelope-from ) id 1Oq4pP-0005UW-4c; Mon, 30 Aug 2010 08:55:15 -0500 Original-Received: from mx1.math.uh.edu ([129.7.128.32]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1Oq4pM-0005U2-Fc for ding@lists.math.uh.edu; Mon, 30 Aug 2010 08:55:12 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx1.math.uh.edu with esmtp (Exim 4.72) (envelope-from ) id 1Oq4pI-0006er-9b for ding@lists.math.uh.edu; Mon, 30 Aug 2010 08:55:12 -0500 Original-Received: from lo.gmane.org ([80.91.229.12]) by quimby.gnus.org with esmtp (Exim 3.36 #1 (Debian)) id 1Oq4pH-0005Ow-03 for ; Mon, 30 Aug 2010 15:55:07 +0200 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1Oq4kP-0006T4-6J for ding@gnus.org; Mon, 30 Aug 2010 15:50:05 +0200 Original-Received: from 38.98.147.130 ([38.98.147.130]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 30 Aug 2010 15:50:05 +0200 Original-Received: from tzz by 38.98.147.130 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 30 Aug 2010 15:50:05 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 46 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: 38.98.147.130 X-Face: bd.DQ~'29fIs`T_%O%C\g%6jW)yi[zuz6;d4V0`@y-~$#3P_Ng{@m+e4o<4P'#(_GJQ%TT= D}[Ep*b!\e,fBZ'j_+#"Ps?s2!4H2-Y"sx" User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/24.0.50 (gnu/linux) Cancel-Lock: sha1:Xw1BuhJGMVpJiGu3DYl3Az00cJA= X-Spam-Score: -0.7 (/) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:70056 Archived-At: On Mon, 30 Aug 2010 15:38:33 +0200 Lars Magne Ingebrigtsen wrote: LMI> Ted Zlatanov writes: >> The ChangeLog format is the same. The *commit message* should be >> >> --cut-- >> short-description-of-change >> >> normal-commit-message >> --cut-- >> >> which produces nice one-line summaries in the condensed git log (and >> Bazaar). LMI> Ah, right. Has anybody done any ChangeLog/vc log integration? I mean, LMI> if I'm checking in a change set that includes the ChangeLog, then it LMI> would make sense to default the text to text extracted from the LMI> ChangeLog. LMI> That is, if the ChangeLog text about to be checked in is: LMI> ------- LMI> 2010-08-29 Lars Magne Ingebrigtsen LMI> * gnus-start.el (gnus-dribble-read-file): Ensure that the directory LMI> where the dribbel file lives exists. LMI> ------- LMI> then the vc log buffer could be populated with: LMI> ------- LMI> Ensure that the directory where the dribble file lives exists. LMI> ------- This works for a one-sentence commit, but generally it doesn't. The summary should be very succinct and ChangeLog messages tend to be explicit and long. I think it's better to type the summary manually, unless the one-sentence match works. I don't think anyone has done work on this but it does sound useful. LMI> (Note how the code also fixed up the typo automatically. :-) I'd rather see it introduce typos automatically. Then no one will ever know you screwed up :) Ted